diff options
| author | Hangbin Liu <liuhangbin@kylinos.cn> | 2026-10-22 11:09:35 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-23 14:04:21 -0700 |
| commit | 86537a8fb24750fc25a96a27ff29400054d052b5 (patch) | |
| tree | b3747e6ef656b6c977b55ac0a059484a7a5f5d59 /tools/perf/scripts/python/bin | |
| parent | 1df26063ab9ba64f5fb11049fa4be686b7fc309e (diff) | |
selftests: gro: remove unused variable total_data
I hit a build warning when building the net selftests.
gro.c: In function 'check_capacity_pkts': gro.c:1249:13: warning: variable 'total_data' set but not used [-Wunused-but-set-variable=]
1249 | int total_data = 0;
| ^~~~~~~~~~
Remove the total_data variable, as it is no longer used.
Fixes: d97348474708 ("selftests: drv-net: gro: always wait for FIN in the capacity test")
Signed-off-by: Hangbin Liu <liuhangbin@kylinos.cn>
Reviewed-by: Antoine Tenart <atenart@kernel.org>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20261022-self_unused_var-v1-1-8ab10a6b7f44@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
