net: ena: Make some functions static
authorYueHaibing <yuehaibing@huawei.com>
Sat, 28 Mar 2020 03:06:20 +0000 (11:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 17:53:40 +0000 (10:53 -0700)
commit32109c7065a2dd9382d77706486cfd5d0cf700d2
tree9c9dab3f83f61e7c3987a739b65d52e45264c9f3
parentcd1ff948302b2854bbbb151898719e563503685a
net: ena: Make some functions static

Fix sparse warnings:

drivers/net/ethernet/amazon/ena/ena_netdev.c:460:6: warning: symbol 'ena_xdp_exchange_program_rx_in_range' was not declared. Should it be static?
drivers/net/ethernet/amazon/ena/ena_netdev.c:481:6: warning: symbol 'ena_xdp_exchange_program' was not declared. Should it be static?
drivers/net/ethernet/amazon/ena/ena_netdev.c:1555:5: warning: symbol 'ena_xdp_handle_buff' was not declared. Should it be static?

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