OpenCloudOS-Kernel/drivers/net/ethernet/intel/igc
Sebastian Andrzej Siewior 0171f4e8d3 net: intel: Remove in_interrupt() warnings
in_interrupt() is ill defined and does not provide what the name
suggests. The usage especially in driver code is deprecated and a tree wide
effort to clean up and consolidate the (ab)usage of in_interrupt() and
related checks is happening.

In this case the checks cover only parts of the contexts in which these
functions cannot be called. They fail to detect preemption or interrupt
disabled invocations.

As the functions which are invoked from the various places contain already
a broad variety of checks (always enabled or debug option dependent) cover
all invalid conditions already, there is no point in having inconsistent
warnings in those drivers.

Just remove them.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-29 14:02:54 -07:00
..
Makefile igc: add support to eeprom, registers and link self-tests 2020-05-18 15:06:28 -07:00
igc.h igc: Export a way to read the PTP timer 2020-09-28 14:42:46 -07:00
igc_base.c igc: Add new device ID's 2020-09-28 14:42:45 -07:00
igc_base.h igc: Add tx_csum offload functionality 2019-09-09 11:37:14 -07:00
igc_defines.h igc: Clean RX descriptor error flags 2020-09-28 14:42:45 -07:00
igc_diag.c igc: add support to eeprom, registers and link self-tests 2020-05-18 15:06:28 -07:00
igc_diag.h igc: add support to eeprom, registers and link self-tests 2020-05-18 15:06:28 -07:00
igc_dump.c igc: Remove unused registers 2020-05-19 16:00:00 -07:00
igc_ethtool.c igc: Expose LPI counters 2020-09-28 14:42:45 -07:00
igc_hw.h igc: Clean up nvm_info structure 2020-09-28 14:42:46 -07:00
igc_i225.c igc: Add initial LTR support 2020-06-29 18:21:09 -07:00
igc_i225.h igc: Add initial LTR support 2020-06-29 18:21:09 -07:00
igc_mac.c igc: Fix static checker warning 2020-07-27 08:49:32 -07:00
igc_mac.h igc: remove IGC_REMOVED function 2020-05-19 15:01:48 -07:00
igc_main.c net: intel: Remove in_interrupt() warnings 2020-09-29 14:02:54 -07:00
igc_nvm.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_nvm.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_phy.c igc: Add PHY power management control 2020-01-17 09:55:34 -08:00
igc_phy.h igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_ptp.c igc: Export a way to read the PTP timer 2020-09-28 14:42:46 -07:00
igc_regs.h igc: Clean up the hw_stats structure 2020-07-27 08:49:32 -07:00
igc_tsn.c igc: Add support for ETF offloading 2020-04-17 10:19:24 -07:00
igc_tsn.h igc: Add support for taprio offloading 2020-04-17 10:19:24 -07:00