staging: vt6655: dead code tx path remove dma_unmap_single
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 22 Jul 2015 18:16:35 +0000 (19:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 03:51:37 +0000 (20:51 -0700)
commit3a00033ee8697e2e0acf07d03dbea55c4b7236ca
tree6352230fb5b2a19f89fe34f5b9c5b36980050925
parentfd43585b6405a0b7c6e5ad3c1bcbb32cf186a5a9
staging: vt6655: dead code tx path remove dma_unmap_single

When pTDInfo->skb_dma not equal to pTDInfo->buf_dma, pTDInfo->skb_dma
equals zero.

as mentioned in comment pre-allocated buf_dma can't be unmapped
so remove dead code.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c