]> git.karo-electronics.de Git - linux-beck.git/commit
brcm80211: fmac: simplify the brcmf_sdioh_request_buffer() function
authorArend van Spriel <arend@broadcom.com>
Wed, 23 Nov 2011 01:21:40 +0000 (17:21 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Nov 2011 19:43:29 +0000 (14:43 -0500)
commit4c6e869d2ee7ca489b7049c17c9afe7b68bebecc
treed09530f8460d42d8f15e86e9fce048f460bbda8c
parent5e8e13b94c7ace2ed8b2aed253211290b329eb5c
brcm80211: fmac: simplify the brcmf_sdioh_request_buffer() function

The function is only called with sk_buff parameter being non-zero so
the prototype does not need to support passing a char buffer any longer.
When the function is called with a NULL sk_buff parameter it returns
-EINVAL now.

Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c
drivers/net/wireless/brcm80211/brcmfmac/sdio_host.h