summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSang-Heon Jeon <ekffu200098@gmail.com>2026-07-26 00:08:50 +0900
committerPaolo Abeni <pabeni@redhat.com>2026-07-30 13:04:03 +0200
commit66084e9510a96436f905526454c67bf7aa0e96f1 (patch)
tree6da5bbeca20f2867873e42c4f7eff12a9b90fdef /include/linux
parent87579b8cda9ec6ecba8327c59d8505d3b83fda98 (diff)
net: ethernet: remove conditional return with no effect
Both branches of the check return the same value, so the check has no effect. Remove it and return the value directly. This is the result of running the Coccinelle script from scripts/coccinelle/misc/cond_return_no_effect.cocci. Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Arthur Kiyanovski <akiyano@amazon.com> Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com> # for dpaa2-switch Link: https://patch.msgid.link/20260725150852.859188-3-ekffu200098@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions