diff mbox series

libflash/blocklevel: suppress debug printout

Message ID 20171006034547.5658-1-stewart@linux.vnet.ibm.com
State Accepted
Headers show
Series libflash/blocklevel: suppress debug printout | expand

Commit Message

Stewart Smith Oct. 6, 2017, 3:45 a.m. UTC
while this is PR_DEBUG, and we shouldn't be printing it to the
console, we do because of a long standing bug in how we do
log priorities. So, for the moment at least, just don't print
it at all.

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
 libflash/blocklevel.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stewart Smith Oct. 6, 2017, 6:29 a.m. UTC | #1
Stewart Smith <stewart@linux.vnet.ibm.com> writes:
> while this is PR_DEBUG, and we shouldn't be printing it to the
> console, we do because of a long standing bug in how we do
> log priorities. So, for the moment at least, just don't print
> it at all.
>
> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
> ---
>  libflash/blocklevel.c | 1 -
>  1 file changed, 1 deletion(-)

Merged as of abb1d4e81f336d4a5e38c45b6560b2298c7022d4
diff mbox series

Patch

diff --git a/libflash/blocklevel.c b/libflash/blocklevel.c
index 33d5c5d2f746..eaab431adc04 100644
--- a/libflash/blocklevel.c
+++ b/libflash/blocklevel.c
@@ -531,7 +531,6 @@  static bool insert_bl_prot_range(struct blocklevel_range *ranges, struct bl_prot
 	for (i = 0; i < ranges->n_prot && len > 0; i++) {
 		if (prot[i].start <= pos && prot[i].start + prot[i].len >= pos + len) {
 			len = 0;
-			FL_DBG("%s: breaking early\n", __func__);
 			break; /* Might as well, the next two conditions can't be true */
 		}