summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorAntonio Quartulli <a@unstable.cc>2020-12-10 09:53:21 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2020-12-10 10:10:43 +0100
commitecbaf5e13f45d8eebd3b772ba0032afcec1e519a (patch)
tree6de7be0e3b6ad531b48ae7f53ce4ab758bc74ec6 /drivers/net/ethernet/intel/igc/igc_main.c
parent921ca574cd382142add8b12d0a7117f495510de5 (diff)
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: Antonio Quartulli <a@unstable.cc> Link: https://lore.kernel.org/r/20201210085321.18693-1-a@unstable.cc Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions