diff options
Diffstat (limited to 'drivers/net/wireless/b43legacy/phy.c')
-rw-r--r-- | drivers/net/wireless/b43legacy/phy.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43legacy/phy.c b/drivers/net/wireless/b43legacy/phy.c index 4c9442b16f3f..11319ec2d64a 100644 --- a/drivers/net/wireless/b43legacy/phy.c +++ b/drivers/net/wireless/b43legacy/phy.c | |||
@@ -1296,12 +1296,10 @@ void b43legacy_lo_write(struct b43legacy_wldev *dev, | |||
1296 | /* Sanity check. */ | 1296 | /* Sanity check. */ |
1297 | if (pair->low < -8 || pair->low > 8 || | 1297 | if (pair->low < -8 || pair->low > 8 || |
1298 | pair->high < -8 || pair->high > 8) { | 1298 | pair->high < -8 || pair->high > 8) { |
1299 | struct b43legacy_phy *phy = &dev->phy; | ||
1300 | b43legacydbg(dev->wl, | 1299 | b43legacydbg(dev->wl, |
1301 | "WARNING: Writing invalid LOpair " | 1300 | "WARNING: Writing invalid LOpair " |
1302 | "(low: %d, high: %d, index: %lu)\n", | 1301 | "(low: %d, high: %d)\n", |
1303 | pair->low, pair->high, | 1302 | pair->low, pair->high); |
1304 | (unsigned long)(pair - phy->_lo_pairs)); | ||
1305 | dump_stack(); | 1303 | dump_stack(); |
1306 | } | 1304 | } |
1307 | #endif | 1305 | #endif |