diff options
| author | Breno Leitao <[email protected]> | 2024-07-12 13:48:16 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-07-13 22:52:49 +0000 |
| commit | e7cdef626f1d7ca69eb3351a8c4ae6a8ec46feed (patch) | |
| tree | ed04acf5583b19aef7c417460868d269659aa482 /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | eth: mlx5: expose NETIF_F_NTUPLE when ARFS is compiled out (diff) | |
| download | kernel-e7cdef626f1d7ca69eb3351a8c4ae6a8ec46feed.tar.gz kernel-e7cdef626f1d7ca69eb3351a8c4ae6a8ec46feed.zip | |
net: dpaa: Fix compilation Warning
Remove variables that are defined and incremented but never read.
This issue appeared in network tests[1] as:
drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:38:6: warning: variable 'i' set but not used [-Wunused-but-set-variable]
38 | int i = 0;
| ^
Link: https://netdev.bots.linux.dev/static/nipa/870263/13729811/build_clang/stderr [1]
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions
