Commit af64dc74 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by John W. Linville

rsi: Add missing initialization of ii

drivers/net/wireless/rsi/rsi_91x_core.c: In function ‘rsi_core_determine_hal_queue’:
drivers/net/wireless/rsi/rsi_91x_core.c:91: warning: ‘ii’ may be used uninitialized in this function
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0215f4cf
...@@ -88,7 +88,7 @@ static u8 rsi_core_determine_hal_queue(struct rsi_common *common) ...@@ -88,7 +88,7 @@ static u8 rsi_core_determine_hal_queue(struct rsi_common *common)
bool recontend_queue = false; bool recontend_queue = false;
u32 q_len = 0; u32 q_len = 0;
u8 q_num = INVALID_QUEUE; u8 q_num = INVALID_QUEUE;
u8 ii, min = 0; u8 ii = 0, min = 0;
if (skb_queue_len(&common->tx_queue[MGMT_SOFT_Q])) { if (skb_queue_len(&common->tx_queue[MGMT_SOFT_Q])) {
if (!common->mgmt_q_block) if (!common->mgmt_q_block)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment