net: ena: remove superfluous check in ena_remove()
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Sat, 18 Feb 2017 11:19:41 +0000 (12:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2017 15:22:59 +0000 (10:22 -0500)
commit90a6c997bd8bb836809eda5efb6406d8c58c0924
tree8c041460e96297f8090d870ab9f934d8e7ee8a18
parent2317c6b51e4249dbfa093e1b88cab0a9f0564b7f
net: ena: remove superfluous check in ena_remove()

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 <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c