]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cxgb3: simplify need_skb_unmap
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Wed, 7 Jul 2010 23:52:38 +0000 (23:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jul 2010 06:12:27 +0000 (23:12 -0700)
commit122e28ebac2cc2378101d1d37a5886c3ac1f8b18
treea3033c47ebc31e5e5e106de2cb71a6b026bea8e0
parent57b2eaf7ddeae307fac202d82a6fabf5976e575b
cxgb3: simplify need_skb_unmap

We can use CONFIG_NEED_DMA_MAP_STATE to see if a platform does real
DMA unmapping.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/sge.c