]> git.baikalelectronics.ru Git - kernel.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)
commitc8b3a971a11bd7ea882a07c461395b853484574c
tree74f7ec8f3b9ffd1f9a982402077568a4a9f8b79f
parentc425109c58311eb194fa1e7599bf02f47e04c5f1
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