summaryrefslogtreecommitdiffstats
path: root/hw/bt.c
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-09-05 15:52:00 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-05 17:56:39 +1000
commit1990a4dacc91825bac38d4289ffce1c579ae72d4 (patch)
tree78bc1e4bdc95bb5d95abec8b15d31c4124a0bd28 /hw/bt.c
parente7357a1b7f021102ce2bb7eab7ddf1f607947c45 (diff)
downloadtalos-skiboot-1990a4dacc91825bac38d4289ffce1c579ae72d4.tar.gz
talos-skiboot-1990a4dacc91825bac38d4289ffce1c579ae72d4.zip
hw/bt: Remove init of static variable to false
Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/bt.c')
-rw-r--r--hw/bt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bt.c b/hw/bt.c
index ff1aa482..2f0726a8 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;
OpenPOWER on IntegriCloud