Skip to content

Commit

Permalink
usb: xhci-renesas: Minor coding style cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Moritz Fischer authored and Greg Kroah-Hartman committed Jul 21, 2021
1 parent e725ace commit e13690d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-pci-renesas.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e13690d

Please sign in to comment.