提交 6be1a5ce 编写于 作者: S Shannon Nelson 提交者: David S. Miller

ionic: clear compiler warning on hb use before set

Build checks have pointed out that 'hb' can theoretically
be used before set, so let's initialize it and get rid
of the compiler complaint.
Signed-off-by: NShannon Nelson <snelson@pensando.io>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c37d6e3f
...@@ -330,9 +330,9 @@ int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_seconds) ...@@ -330,9 +330,9 @@ int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_seconds)
unsigned long max_wait; unsigned long max_wait;
unsigned long duration; unsigned long duration;
int opcode; int opcode;
int hb = 0;
int done; int done;
int err; int err;
int hb;
WARN_ON(in_interrupt()); WARN_ON(in_interrupt());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册