summaryrefslogtreecommitdiff
path: root/drivers/net/jme.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2009-07-16 09:07:09 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 15:38:06 (GMT)
commit76266b2ad38c33fb2c1475cfeb35ed070adaba2b (patch)
tree6e0abe8fbfd68d8627099358b300c830c99eb42e /drivers/net/jme.c
parent240e86efd60e6bc232a072273a7f7794bcb035e0 (diff)
downloadlinux-76266b2ad38c33fb2c1475cfeb35ed070adaba2b.tar.xz
mwl8k: dma header manipulations can't fail
Adding and removing the DMA header that the mwl8k hardware requires on tx and provides on rx can never fail, since we are guaranteed to have enough headroom on the tx path to expand the packet, and we only ever shrink the packet on the rx path. (And on both paths we are guaranteed to be the only user of the skb we are handling.) This allows removing all of the skb clone handling in the tx and tx reclaim paths, and eliminates error checks in both the tx and rx paths, simplifying the code a bit more. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/jme.c')
0 files changed, 0 insertions, 0 deletions