aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2024-07-04 07:24:30 +0000
committerShuah Khan <[email protected]>2024-07-11 17:23:55 +0000
commit7d17b29b0e4b9a97426873f72e9cc6d35cfaf88f (patch)
tree588e08ccf3bc29ff9981f3f453333020507def3c /drivers/net/ethernet/intel/igc/igc_main.c
parentselftests/x86: avoid -no-pie warnings from clang during compilation (diff)
downloadkernel-7d17b29b0e4b9a97426873f72e9cc6d35cfaf88f.tar.gz
kernel-7d17b29b0e4b9a97426873f72e9cc6d35cfaf88f.zip
selftests/x86: remove (or use) unused variables and functions
When building with clang, via: make LLVM=1 -C tools/testing/selftests ...quite a few functions are variables are generating "unused" warnings. Fix the warnings by deleting the unused items. One item, the "nerrs" variable in vsdo_restorer.c's main(), is unused but probably wants to be returned from main(), as a non-zero result. That result is also unused right now, so another option would be to delete it entirely, but this way, main() also gets fixed. It was missing a return value. Acked-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: John Hubbard <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions