aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2017-10-06 14:45:47 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-10-06 01:21:02 -0500
commitabb1d4e81f336d4a5e38c45b6560b2298c7022d4 (patch)
tree07e57a4d116bbce5f6a1f9bc43e27d95a629d8c7
parent87b7c5f37c63bd7fa0e32696d99e913bfbc4f594 (diff)
downloadskiboot-abb1d4e81f336d4a5e38c45b6560b2298c7022d4.zip
skiboot-abb1d4e81f336d4a5e38c45b6560b2298c7022d4.tar.gz
skiboot-abb1d4e81f336d4a5e38c45b6560b2298c7022d4.tar.bz2
libflash/blocklevel: suppress debug printout
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>
-rw-r--r--libflash/blocklevel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libflash/blocklevel.c b/libflash/blocklevel.c
index 33d5c5d..eaab431 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 */
}