Skip to content

Commit

Permalink
brcmsmac: initialize morepending in brcms_b_recv()
Browse files Browse the repository at this point in the history
drivers/net/wireless/brcm80211/brcmsmac/main.c: In function ‘brcms_b_recv’:
drivers/net/wireless/brcm80211/brcmsmac/main.c:7636: warning: ‘morepending’ may be used uninitialized in this function

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Geert Uytterhoeven authored and John W. Linville committed Jan 7, 2013
1 parent 07db8f8 commit c2397bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/brcm80211/brcmsmac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7633,7 +7633,7 @@ brcms_b_recv(struct brcms_hardware *wlc_hw, uint fifo, bool bound)

uint n = 0;
uint bound_limit = bound ? RXBND : -1;
bool morepending;
bool morepending = false;

skb_queue_head_init(&recv_frames);

Expand Down

0 comments on commit c2397bb

Please sign in to comment.