Re: [PATCH] via-velocity: remove null pointer check on array tdinfo->skb_dma

2016-09-09 Thread David Miller
From: Colin King Date: Thu, 8 Sep 2016 10:04:24 +0100 > From: Colin Ian King > > 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. > >

Re: [PATCH] via-velocity: remove null pointer check on array tdinfo->skb_dma

2016-09-08 Thread Francois Romieu
Colin King : > From: Colin Ian King > > 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

[PATCH] via-velocity: remove null pointer check on array tdinfo->skb_dma

2016-09-08 Thread Colin King
From: Colin Ian King 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 --- drivers/net/ethernet/via/via-velocity.c |