diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2020-10-12 11:13:46 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-13 19:44:01 -0700 |
commit | f2bf814a27c567abd51683e1e853ff3b5bbf9186 (patch) | |
tree | 3a2495aa7db40a26796d4214956f23481d62b83c /tools/testing/selftests/bpf/prog_tests/hashmap.c | |
parent | 30cf856a691f61d1b7614b473a89ca8156d4e0ae (diff) | |
download | linux-f2bf814a27c567abd51683e1e853ff3b5bbf9186.tar.bz2 |
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>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/hashmap.c')
0 files changed, 0 insertions, 0 deletions