]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
brcmsmac: initialize morepending in brcms_b_recv()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 22 Dec 2012 21:07:14 +0000 (22:07 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:16:54 +0000 (15:16 -0500)
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>
drivers/net/wireless/brcm80211/brcmsmac/main.c

index 17594de4199ef58a30488e2c7579ec02c521d9ea..5f0f444f85a33f25113b2e623c01ead47baae30a 100644 (file)
@@ -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);