wifi: b43: remove empty switch statement
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Sep 2022 19:29:12 +0000 (21:29 +0200)
committerKalle Valo <kvalo@kernel.org>
Wed, 7 Sep 2022 08:03:00 +0000 (11:03 +0300)
There's a TODO here, just move the dependency on phy->rev
into the comment. Not that this driver is likely to get
any updates.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220904212910.ea00a892e41b.I709217fc307125f8670c7f6a9093111b46194131@changeid
drivers/net/wireless/broadcom/b43/phy_n.c

index aa5c994..2c0c019 100644 (file)
@@ -2479,11 +2479,7 @@ static void b43_nphy_gain_ctl_workarounds_rev19(struct b43_wldev *dev)
 
 static void b43_nphy_gain_ctl_workarounds_rev7(struct b43_wldev *dev)
 {
-       struct b43_phy *phy = &dev->phy;
-
-       switch (phy->rev) {
-       /* TODO */
-       }
+       /* TODO - should depend on phy->rev */
 }
 
 static void b43_nphy_gain_ctl_workarounds_rev3(struct b43_wldev *dev)