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

Commit 89b32d45 authored by Pekka Enberg's avatar Pekka Enberg Committed by Greg Kroah-Hartman
Browse files

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: default avatarPekka Enberg <penberg@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3c093865
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
#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;
+0 −2
Original line number Diff line number Diff line
@@ -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;