Commit 997a0c68 authored by François Romieu's avatar François Romieu Committed by Jeff Garzik

[PATCH] via-velocity: removal of unused velocity_info.xmit_lock

Removed unused velocity_info.xmit_lock.
Signed-off-by: default avatarTejun Heo <tj@home-tj.org>
parent 984fac04
...@@ -872,10 +872,7 @@ static void __devinit velocity_init_info(struct pci_dev *pdev, struct velocity_i ...@@ -872,10 +872,7 @@ static void __devinit velocity_init_info(struct pci_dev *pdev, struct velocity_i
vptr->io_size = info->io_size; vptr->io_size = info->io_size;
vptr->num_txq = info->txqueue; vptr->num_txq = info->txqueue;
vptr->multicast_limit = MCAM_SIZE; vptr->multicast_limit = MCAM_SIZE;
spin_lock_init(&vptr->lock); spin_lock_init(&vptr->lock);
spin_lock_init(&vptr->xmit_lock);
INIT_LIST_HEAD(&vptr->list); INIT_LIST_HEAD(&vptr->list);
} }
......
...@@ -1792,7 +1792,6 @@ struct velocity_info { ...@@ -1792,7 +1792,6 @@ struct velocity_info {
u8 mCAMmask[(MCAM_SIZE / 8)]; u8 mCAMmask[(MCAM_SIZE / 8)];
spinlock_t lock; spinlock_t lock;
spinlock_t xmit_lock;
int wol_opts; int wol_opts;
u8 wol_passwd[6]; u8 wol_passwd[6];
......
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