linux/drivers/net/ethernet/intel/igb
Sang-Heon Jeon 1f35011c28 net: intel: 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: Marcin Szycik <marcin.szycik@linux.intel.com>
Link: https://patch.msgid.link/20260725150852.859188-5-ekffu200098@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-07-30 13:04:03 +02:00
..
e1000_82575.c igb: drop unnecessary constant casts to u16 2025-09-03 10:07:27 -07:00
e1000_82575.h igb: set skb hash type from RSS_TYPE 2026-07-01 13:34:30 -07:00
e1000_defines.h igb: fix typos in comments 2026-06-13 16:44:06 -07:00
e1000_hw.h
e1000_i210.c net: intel: remove conditional return with no effect 2026-07-30 13:04:03 +02:00
e1000_i210.h
e1000_mac.c igb: fix typos in comments 2026-06-13 16:44:06 -07:00
e1000_mac.h igb: Cleanup unused declarations 2024-10-08 15:22:32 -07:00
e1000_mbx.c
e1000_mbx.h igb: fix typos in comments 2026-06-13 16:44:06 -07:00
e1000_nvm.c igb: fix typos in comments 2026-06-13 16:44:06 -07:00
e1000_nvm.h igb: Cleanup unused declarations 2024-10-08 15:22:32 -07:00
e1000_phy.c intel: legacy: field get conversion 2023-12-18 11:20:43 -08:00
e1000_phy.h
e1000_regs.h
igb_ethtool.c igb: allow configuring RSS key via ethtool set_rxfh 2026-07-01 13:34:30 -07:00
igb_hwmon.c
igb_main.c igb: set skb hash type from RSS_TYPE 2026-07-01 13:34:30 -07:00
igb_ptp.c igb: use ktime_get_real helpers in igb_ptp_reset() 2026-06-13 16:44:05 -07:00
igb_xsk.c igb: Fix trigger of incorrect irq in igb_xsk_wakeup 2026-03-03 13:06:05 -08:00
igb.h igb: prepare for RSS key get/set support 2026-07-01 13:34:29 -07:00
Makefile igb: Introduce XSK data structures and helpers 2025-01-07 18:14:08 -08:00