aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-06-09 01:01:31 -0700
committerDavid S. Miller <davem@davemloft.net>2009-06-09 01:01:31 -0700
commitebc8d2ab61dde6cf775ae7bb1ed9e38dfe12ca65 (patch)
treeb8c26cff066e25e795d45b98d00047214bfa31de /net/core
parentd4fd3bc101909802f9ed083093cce688cc3416aa (diff)
downloadkernel_samsung_smdk4412-ebc8d2ab61dde6cf775ae7bb1ed9e38dfe12ca65.zip
kernel_samsung_smdk4412-ebc8d2ab61dde6cf775ae7bb1ed9e38dfe12ca65.tar.gz
kernel_samsung_smdk4412-ebc8d2ab61dde6cf775ae7bb1ed9e38dfe12ca65.tar.bz2
be2net: Remove unnecessary frag list traversing.
This driver does not indicate support for frag lists. Furthermore, even if it did, the code is walking the frag lists incorrectly. The idiom is: for (iter = skb_shinfo(skb)->frag_list; iter; iter = iter->next) but it's doing: for (iter = skb_shinfo(skb)->frag_list; iter; iter = skb_shinfo(iter)->frag_list) which would never work. And this proves that this driver never saw an SKB with active frag lists. So just remove the code altogether and the driver TX path becomes much simpler. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions