mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-22 22:04:47 +08:00
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: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c37d6e3f25
commit
6be1a5ce1b
@ -330,9 +330,9 @@ int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_seconds)
|
||||
unsigned long max_wait;
|
||||
unsigned long duration;
|
||||
int opcode;
|
||||
int hb = 0;
|
||||
int done;
|
||||
int err;
|
||||
int hb;
|
||||
|
||||
WARN_ON(in_interrupt());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user