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 <[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]>
  • Loading branch information
mfischer authored and gregkh 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.