提交 b40296fc 编写于 作者: W Wei Yongjun 提交者: David S. Miller

sfc: efx_get_phys_port_id() can be static

Fixes the following sparse warning:

drivers/net/ethernet/sfc/efx.c:2337:5: warning:
 symbol 'efx_get_phys_port_id' was not declared. Should it be static?
Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 02ac5d14
......@@ -2334,7 +2334,7 @@ static int efx_set_features(struct net_device *net_dev, netdev_features_t data)
return 0;
}
int efx_get_phys_port_id(struct net_device *net_dev,
static int efx_get_phys_port_id(struct net_device *net_dev,
struct netdev_phys_item_id *ppid)
{
struct efx_nic *efx = netdev_priv(net_dev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册