]> git.karo-electronics.de Git - linux-beck.git/commit
brcm80211: smac: remove usage of brcmu_pkttotlen
authorArend van Spriel <arend@broadcom.com>
Thu, 10 Nov 2011 19:30:26 +0000 (20:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 19:28:39 +0000 (14:28 -0500)
commitad4d71f69ebe2acab75d0a8a66ab9f7609151cce
tree74f7ec8f3b9ffd1f9a982402077568a4a9f8b79f
parent122d36fd5ac99305d294012044198894648bf0f8
brcm80211: smac: remove usage of brcmu_pkttotlen

The function brcmu_pkttotlen calculates the total length of a sk_buff
chain following the next pointer. In brcmsmac this is not needed as
in each place where it was used the provided sk_buff had a NULL pointer
as next field value.

Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@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/ampdu.c
drivers/net/wireless/brcm80211/brcmsmac/main.c