Tag: f910b6cba27af4c5e1b0de1225a268448c2e82be

USB: PCI-quirks: Deletion of unnecessary checks before the function call « pci_dev_put »

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: Greg Kroah-Hartman — drivers/usb/host/pci-quirks.c | 12 ++++——– 1 file changed, 4 insertions(+), 8 deletions(-)   diff …

Lire la suite