net: ethernet: altera: TSE: Remove unneeded dma sync for tx buffers
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Wed, 30 Nov 2016 22:48:31 +0000 (23:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 17:10:24 +0000 (12:10 -0500)
commit151a14db228181fb49abaf83e13f3be58ec102c4
tree201e0a49903d5f373e65a28c5319681fff309c34
parentd262fd12cd03afca40ced117d837fa576a667eab
net: ethernet: altera: TSE: Remove unneeded dma sync for tx buffers

An explicit dma sync for device directly after mapping as well as an
explicit dma sync for cpu directly before unmapping is unnecessary and
costly on the hotpath. So remove these calls.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/altera/altera_tse_main.c