[Skiboot] [PATCH 23/25] hw/bt: Remove init of static variable to false

Joel Stanley joel at jms.id.au
Tue Sep 5 15:52:00 AEST 2017


Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 hw/bt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/bt.c b/hw/bt.c
index ff1aa48276b5..2f0726a8fca0 100644
--- a/hw/bt.c
+++ b/hw/bt.c
@@ -413,7 +413,7 @@ static void print_debug_queue_info(void)
 {
 #if BT_QUEUE_DEBUG
 	struct bt_msg *msg;
-	static bool printed = false;
+	static bool printed;
 
 	if (!list_empty(&bt.msgq)) {
 		printed = false;
-- 
2.14.1



More information about the Skiboot mailing list