diff options
author | Yang Yingliang <[email protected]> | 2021-05-21 11:57:21 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-21 13:52:26 -0700 |
commit | 31d990cb2628448806a94e64f07b90994a716c56 (patch) | |
tree | 858c43153bae37b595ac8a9909316899bdfa3ad7 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 4057c58da21ceeecb71c0f2d22c50755d53320e0 (diff) |
sfc: farch: fix compile warning in efx_farch_dimension_resources()
Fix the following kernel build warning when CONFIG_SFC_SRIOV is disabled:
drivers/net/ethernet/sfc/farch.c: In function ‘efx_farch_dimension_resources’:
drivers/net/ethernet/sfc/farch.c:1671:21: warning: variable ‘buftbl_min’ set but not used [-Wunused-but-set-variable]
unsigned vi_count, buftbl_min, total_tx_channels;
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions