brcm80211: util: remove pointer traversal from brcmu_pkt_buf_free_skb
authorArend van Spriel <arend@broadcom.com>
Thu, 10 Nov 2011 19:30:30 +0000 (20:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 19:28:43 +0000 (14:28 -0500)
commit53ee4bc46784ad53d0a9be52e8d687dd4e89a055
tree6cad8986e1c920431b2012e0a34804d5d0aa1c96
parent9a95e60e0610bb8ec39c74d2c8546514a76428df
brcm80211: util: remove pointer traversal from brcmu_pkt_buf_free_skb

The function brcmu_pkt_buf_free_skb() was following the next pointer
to free all linked packets. However, it is only called with unlinked
packets so this can be removed.

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: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmutil/utils.c