net: ena: remove set but not used variable 'rx_ring'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 24 Dec 2019 12:51:28 +0000 (20:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Dec 2019 00:32:40 +0000 (16:32 -0800)
commitcad451dd2427d6ddd38a411e688def499daa798d
tree82af1c87f641837a1b3063dd9dc7313b8c2a2e99
parentc8f957df6e338406128cadb2ee30e38f9a816ed6
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>
drivers/net/ethernet/amazon/ena/ena_netdev.c