diff options
author | Moritz Fischer <mdf@kernel.org> | 2021-07-18 03:51:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 10:05:59 +0200 |
commit | e13690d527bb400b09ef669d28bd11d8db3f1b08 (patch) | |
tree | 832fb7037a1460fd0402417325566fb7796b4abc /drivers/usb/host/xhci-pci-renesas.c | |
parent | usb: host: ohci-spear: simplify calling usb_add_hcd() (diff) | |
download | linux-e13690d527bb400b09ef669d28bd11d8db3f1b08.tar.xz linux-e13690d527bb400b09ef669d28bd11d8db3f1b08.zip |
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.c | 2 |
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) |