aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2023-09-29 09:47:38 +0200
committerMarc Kleine-Budde <[email protected]>2023-10-05 21:32:45 +0200
commit8f3ec204d340af183fb2bb21b8e797ac2ed012b2 (patch)
tree58bdb2a196c3757d4605f35f4d95fbf69cc0f496 /drivers/fpga/fpga-bridge.c
parent6841cab8c4504835e4011689cbdb3351dec693fd (diff)
can: dev: can_restart(): reverse logic to remove need for goto
Reverse the logic in the if statement and eliminate the need for a goto to simplify code readability. Link: https://lore.kernel.org/all/20231005-can-dev-fix-can-restart-v2-3-91b5c1fd922c@pengutronix.de Reviewed-by: Vincent Mailhol <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions