mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
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 <[email protected]> Acked-by: Olof Johansson <[email protected]> Acked-by: Luis R. Rodriguez <[email protected]> Signed-off-by: David S. Miller <[email protected]>