via-velocity: remove null pointer check on array tdinfo->skb_dma
authorColin Ian King <colin.king@canonical.com>
Thu, 8 Sep 2016 09:04:24 +0000 (10:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Sep 2016 01:17:33 +0000 (18:17 -0700)
commit46dfc23e9e0823616abee670cd24acde0d900ca9
treecdf6137a4354b2ae7e3fa77f3f42411fee1d2b42
parent9438451e7325815fb38db04b1da0670ecc601b5e
via-velocity: remove null pointer check on array tdinfo->skb_dma

tdinfo->skb_dma is a 7 element array of dma_addr_t hence cannot be
null, so the pull pointer check on tdinfo->skb_dma  is redundant.
Remove it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-velocity.c