Skip to content
Commit ecbaf5e1 authored by Antonio Quartulli's avatar Antonio Quartulli Committed by Marc Kleine-Budde
Browse files

can: rx-offload: can_rx_offload_offload_one(): avoid double unlikely() notation when using IS_ERR()



The definition of IS_ERR() already applies the unlikely() notation when
checking the error status of the passed pointer. For this reason there is no
need to have the same notation outside of IS_ERR() itself.

Clean up code by removing redundant notation.

Signed-off-by: default avatarAntonio Quartulli <a@unstable.cc>
Link: https://lore.kernel.org/r/20201210085321.18693-1-a@unstable.cc


Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 921ca574
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment