Re: [PATCH 1/2] net: netsec: remove superfluous if statement

2019-07-09 Thread David Miller
From: Ilias Apalodimas Date: Wed, 10 Jul 2019 00:14:48 +0300 > While freeing tx buffers the memory has to be unmapped if the packet was > an skb or was used for .ndo_xdp_xmit using the same arguments. Get rid > of the unneeded extra 'else if' statement > > Signed-off-by: Ilias Apalodimas Appli

[PATCH 1/2] net: netsec: remove superfluous if statement

2019-07-09 Thread Ilias Apalodimas
While freeing tx buffers the memory has to be unmapped if the packet was an skb or was used for .ndo_xdp_xmit using the same arguments. Get rid of the unneeded extra 'else if' statement Signed-off-by: Ilias Apalodimas --- drivers/net/ethernet/socionext/netsec.c | 8 1 file changed, 4 in