diff options
Diffstat (limited to 'drivers/net/wireless/b43/sysfs.c')
-rw-r--r-- | drivers/net/wireless/b43/sysfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/b43/sysfs.c b/drivers/net/wireless/b43/sysfs.c index 5adaa3692d75..f1ae4e05a32c 100644 --- a/drivers/net/wireless/b43/sysfs.c +++ b/drivers/net/wireless/b43/sysfs.c | |||
@@ -94,7 +94,6 @@ static ssize_t b43_attr_interfmode_store(struct device *dev, | |||
94 | const char *buf, size_t count) | 94 | const char *buf, size_t count) |
95 | { | 95 | { |
96 | struct b43_wldev *wldev = dev_to_b43_wldev(dev); | 96 | struct b43_wldev *wldev = dev_to_b43_wldev(dev); |
97 | unsigned long flags; | ||
98 | int err; | 97 | int err; |
99 | int mode; | 98 | int mode; |
100 | 99 | ||
@@ -120,7 +119,6 @@ static ssize_t b43_attr_interfmode_store(struct device *dev, | |||
120 | } | 119 | } |
121 | 120 | ||
122 | mutex_lock(&wldev->wl->mutex); | 121 | mutex_lock(&wldev->wl->mutex); |
123 | spin_lock_irqsave(&wldev->wl->irq_lock, flags); | ||
124 | 122 | ||
125 | if (wldev->phy.ops->interf_mitigation) { | 123 | if (wldev->phy.ops->interf_mitigation) { |
126 | err = wldev->phy.ops->interf_mitigation(wldev, mode); | 124 | err = wldev->phy.ops->interf_mitigation(wldev, mode); |
@@ -132,7 +130,6 @@ static ssize_t b43_attr_interfmode_store(struct device *dev, | |||
132 | err = -ENOSYS; | 130 | err = -ENOSYS; |
133 | 131 | ||
134 | mmiowb(); | 132 | mmiowb(); |
135 | spin_unlock_irqrestore(&wldev->wl->irq_lock, flags); | ||
136 | mutex_unlock(&wldev->wl->mutex); | 133 | mutex_unlock(&wldev->wl->mutex); |
137 | 134 | ||
138 | return err ? err : count; | 135 | return err ? err : count; |