linux_dsm_epyc7002/drivers/net/ethernet/pasemi
Markus Elfring 6db16718c9 net-PA Semi: Deletion of unnecessary checks before the function call "pci_dev_put"
The pci_dev_put() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call
is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-12-05 21:14:20 -08:00
..
Kconfig drivers/net/ethernet/*: Enabled vendor Kconfig options 2011-08-27 00:58:56 -07:00
Makefile pasemi_mac: Fix building as module 2011-12-06 00:48:59 -05:00
pasemi_mac_ethtool.c ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
pasemi_mac.c net-PA Semi: Deletion of unnecessary checks before the function call "pci_dev_put" 2014-12-05 21:14:20 -08:00
pasemi_mac.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00