diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 6a2c8a3a3d5e..72ff20e10aa6 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -5270,8 +5270,8 @@ static ssize_t store_antenna(struct device *d, | |||
5270 | struct device_attribute *attr, | 5270 | struct device_attribute *attr, |
5271 | const char *buf, size_t count) | 5271 | const char *buf, size_t count) |
5272 | { | 5272 | { |
5273 | struct iwl_priv *priv __maybe_unused = dev_get_drvdata(d); | ||
5273 | int ant; | 5274 | int ant; |
5274 | struct iwl_priv *priv = dev_get_drvdata(d); | ||
5275 | 5275 | ||
5276 | if (count == 0) | 5276 | if (count == 0) |
5277 | return 0; | 5277 | return 0; |