aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Fischer <[email protected]>2021-07-17 18:51:10 -0700
committerGreg Kroah-Hartman <[email protected]>2021-07-21 10:05:59 +0200
commite13690d527bb400b09ef669d28bd11d8db3f1b08 (patch)
tree832fb7037a1460fd0402417325566fb7796b4abc
parente725ace06fc4072a5a9e934805fbe42454b32c90 (diff)
usb: xhci-renesas: Minor coding style cleanup
Change an explicit err == 0 to !err. No functional change. Cc: Mathias Nyman <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Vinod Koul <[email protected]> Signed-off-by: Moritz Fischer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/usb/host/xhci-pci-renesas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-pci-renesas.c b/drivers/usb/host/xhci-pci-renesas.c
index 1da647961c25..327f6a6d5672 100644
--- a/drivers/usb/host/xhci-pci-renesas.c
+++ b/drivers/usb/host/xhci-pci-renesas.c
@@ -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)