Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b40296fc authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 02ac5d14
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);