linux-stable/drivers/net/ethernet/intel/e1000
Jesse Brandeburg f2bf814a27 e1000: remove unused and incorrect code
The e1000_clear_vfta function was triggering a warning in kbuild-bot
testing. It's actually a bug but has no functional impact.

drivers/net/ethernet/intel/e1000/e1000_hw.c:4415:58: warning: Same expression in both branches of ternary operator. [duplicateExpressionTernary]

Fix this warning by removing the offending code and simplifying
the routine to do exactly what it did before, no functional
change.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-13 19:44:01 -07:00
..
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000.h net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
e1000_ethtool.c e1000: Remove unnecessary usages of memset 2020-07-30 10:51:25 -07:00
e1000_hw.c e1000: remove unused and incorrect code 2020-10-13 19:44:01 -07:00
e1000_hw.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_main.c net: intel: Remove in_interrupt() warnings 2020-09-29 14:02:54 -07:00
e1000_osdep.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_param.c ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00