summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-pci-renesas.c
diff options
context:
space:
mode:
authorMoritz Fischer <mdf@kernel.org>2021-07-18 04:51:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 11:05:59 +0300
commite13690d527bb400b09ef669d28bd11d8db3f1b08 (patch)
tree832fb7037a1460fd0402417325566fb7796b4abc /drivers/usb/host/xhci-pci-renesas.c
parente725ace06fc4072a5a9e934805fbe42454b32c90 (diff)
downloadlinux-e13690d527bb400b09ef669d28bd11d8db3f1b08.tar.xz
usb: xhci-renesas: Minor coding style cleanup
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>
Diffstat (limited to 'drivers/usb/host/xhci-pci-renesas.c')
-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)