diff options
| author | Tom Rix <[email protected]> | 2023-02-26 11:34:29 -0500 | 
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-02-27 11:28:20 -0800 | 
| commit | ccf8f7d71424ce37394c8333482853dba4f33978 (patch) | |
| tree | c0dba9d45f75d26f3f0252847ea45c2e7ae55d61 /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c | |
| parent | 4db692d68256d860c9d35140b1de7324b432082b (diff) | |
xen-netback: remove unused variables pending_idx and index
building with gcc and W=1 reports
drivers/net/xen-netback/netback.c:886:21: error: variable
  ‘pending_idx’ set but not used [-Werror=unused-but-set-variable]
  886 |                 u16 pending_idx;
      |                     ^~~~~~~~~~~
pending_idx is not used so remove it.  Since index was only
used to set pending_idx, remove index as well.
Signed-off-by: Tom Rix <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions