usb: xhci-renesas: Minor coding style cleanup
authorMoritz Fischer <mdf@kernel.org>
Sun, 18 Jul 2021 01:51:10 +0000 (18:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 08:05:59 +0000 (10:05 +0200)
Change an explicit err == 0 to !err. No functional change.

Cc: Mathias Nyman <mathias.nyman@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Link: https://lore.kernel.org/r/20210718015111.389719-2-mdf@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci-renesas.c

index 1da6479..327f6a6 100644 (file)
@@ -595,7 +595,7 @@ int renesas_xhci_check_request_fw(struct pci_dev *pdev,
 
        err = renesas_fw_check_running(pdev);
        /* Continue ahead, if the firmware is already running. */
-       if (err == 0)
+       if (!err)
                return 0;
 
        if (err != 1)