diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-12-24 20:51:28 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-27 16:32:40 -0800 |
commit | cad451dd2427d6ddd38a411e688def499daa798d (patch) | |
tree | 82af1c87f641837a1b3063dd9dc7313b8c2a2e99 /init | |
parent | c8f957df6e338406128cadb2ee30e38f9a816ed6 (diff) |
net: ena: remove set but not used variable 'rx_ring'
drivers/net/ethernet/amazon/ena/ena_netdev.c: In function ena_xdp_xmit_buff:
drivers/net/ethernet/amazon/ena/ena_netdev.c:316:19: warning:
variable rx_ring set but not used [-Wunused-but-set-variable]
commit 548c4940b9f1 ("net: ena: Implement XDP_TX action")
left behind this unused variable.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions