Re: [PATCH] net: ena: remove superfluous check in ena_remove()

2017-02-20 Thread David Miller
From: Lino Sanfilippo Date: Sat, 18 Feb 2017 12:19:41 +0100 > The check in ena_remove() for the pci driver data not being NULL is not > needed, since it is always set in the probe() function. Remove the > superfluous check. > > Signed-off-by: Lino Sanfilippo Applied.

[PATCH] net: ena: remove superfluous check in ena_remove()

2017-02-18 Thread Lino Sanfilippo
The check in ena_remove() for the pci driver data not being NULL is not needed, since it is always set in the probe() function. Remove the superfluous check. Signed-off-by: Lino Sanfilippo --- drivers/net/ethernet/amazon/ena/ena_netdev.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/d