kernel_optimize_test/drivers/net/benet
David S. Miller ebc8d2ab61 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>
2009-06-09 01:01:31 -07:00
..
be_cmds.c net: Add be2net driver. 2009-03-11 23:32:22 -07:00
be_cmds.h net: Add be2net driver. 2009-03-11 23:32:22 -07:00
be_ethtool.c be2net: fix for default setting of pause auto-negotiation 2009-04-13 15:41:50 -07:00
be_hw.h net: Add be2net driver. 2009-03-11 23:32:22 -07:00
be_main.c be2net: Remove unnecessary frag list traversing. 2009-06-09 01:01:31 -07:00
be.h be2net: add two new pci device ids to pci device table 2009-05-18 15:38:55 -07:00
Kconfig net: Add be2net driver. 2009-03-11 23:32:22 -07:00
Makefile net: Add be2net driver. 2009-03-11 23:32:22 -07:00