diff options
author | Pekka Enberg <penberg@kernel.org> | 2010-09-19 12:28:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-21 10:44:56 -0700 |
commit | 89b32d45fe88884d4780057dd18a098b402e358c (patch) | |
tree | bfff0f226d9efcc68895d540c0908a99117b0b28 /drivers/staging/winbond | |
parent | 3c093865aecc7addd34a56b5cf4b2ee9223d9b2d (diff) | |
download | talos-op-linux-89b32d45fe88884d4780057dd18a098b402e358c.tar.gz talos-op-linux-89b32d45fe88884d4780057dd18a098b402e358c.zip |
staging: w35und: Remove unused spinlocks
This patch removes unused spinlocks from "struct mlme_frame" and "struct
wbsoft_priv".
Cc: Lars Lindley <lindley@coyote.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Ruslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond')
-rw-r--r-- | drivers/staging/winbond/core.h | 5 | ||||
-rw-r--r-- | drivers/staging/winbond/wbusb.c | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/winbond/core.h b/drivers/staging/winbond/core.h index 294d371e60d2..333b19735734 100644 --- a/drivers/staging/winbond/core.h +++ b/drivers/staging/winbond/core.h @@ -1,7 +1,6 @@ #ifndef __WINBOND_CORE_H #define __WINBOND_CORE_H -#include <linux/spinlock.h> #include <linux/wireless.h> #include <linux/types.h> @@ -21,8 +20,6 @@ struct mlme_frame { u8 DataType; u8 IsInUsed; - spinlock_t MLMESpinLock; - u8 TxMMPDU[MAX_NUM_TX_MMPDU][MAX_MMPDU_SIZE]; u8 TxMMPDUInUse[(MAX_NUM_TX_MMPDU + 3) & ~0x03]; @@ -57,8 +54,6 @@ struct wbsoft_priv { struct hw_data sHwData; /*For HAL */ struct wb35_mds Mds; - spinlock_t SpinLock; - atomic_t ThreadCount; u32 RxByteCount; diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c index abaa05a630f0..5419f4fd198f 100644 --- a/drivers/staging/winbond/wbusb.c +++ b/drivers/staging/winbond/wbusb.c @@ -783,8 +783,6 @@ static int wb35_probe(struct usb_interface *intf, priv = dev->priv; - spin_lock_init(&priv->SpinLock); - pWbUsb = &priv->sHwData.WbUsb; pWbUsb->udev = udev; |