brcmsmac: cleanup in isr code
authorPiotr Haber <phaber@broadcom.com>
Wed, 28 Nov 2012 20:44:06 +0000 (21:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Nov 2012 18:38:16 +0000 (13:38 -0500)
commit94d9902dc06a28a1b25cf56a7cdc057608bdf48b
treeb46da78d4e8f3bdcf261b7c7cf67a87d2173e88b
parentc4dea35e34f5f46e1701156153a09cce429d1ea9
brcmsmac: cleanup in isr code

brcms_c_isr returns true if interrupt was for us
and if dpc should be scheduled which is the same thing.
Simplify it.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
drivers/net/wireless/brcm80211/brcmsmac/main.c
drivers/net/wireless/brcm80211/brcmsmac/pub.h