Commit 4bb9f2e4 authored by Lijun Pan's avatar Lijun Pan Committed by David S. Miller

ibmvnic: remove unused spinlock_t stats_lock definition

stats_lock is no longer used. So remove it.
Signed-off-by: default avatarLijun Pan <lijunp213@gmail.com>
Reviewed-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a369d96c
...@@ -5295,8 +5295,6 @@ static int ibmvnic_probe(struct vio_dev *dev, const struct vio_device_id *id) ...@@ -5295,8 +5295,6 @@ static int ibmvnic_probe(struct vio_dev *dev, const struct vio_device_id *id)
netdev->ethtool_ops = &ibmvnic_ethtool_ops; netdev->ethtool_ops = &ibmvnic_ethtool_ops;
SET_NETDEV_DEV(netdev, &dev->dev); SET_NETDEV_DEV(netdev, &dev->dev);
spin_lock_init(&adapter->stats_lock);
INIT_WORK(&adapter->ibmvnic_reset, __ibmvnic_reset); INIT_WORK(&adapter->ibmvnic_reset, __ibmvnic_reset);
INIT_DELAYED_WORK(&adapter->ibmvnic_delayed_reset, INIT_DELAYED_WORK(&adapter->ibmvnic_delayed_reset,
__ibmvnic_delayed_reset); __ibmvnic_delayed_reset);
......
...@@ -987,7 +987,6 @@ struct ibmvnic_adapter { ...@@ -987,7 +987,6 @@ struct ibmvnic_adapter {
struct ibmvnic_statistics stats; struct ibmvnic_statistics stats;
dma_addr_t stats_token; dma_addr_t stats_token;
struct completion stats_done; struct completion stats_done;
spinlock_t stats_lock;
int replenish_no_mem; int replenish_no_mem;
int replenish_add_buff_success; int replenish_add_buff_success;
int replenish_add_buff_failure; int replenish_add_buff_failure;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment