diff mbox series

wifi: b43: remove reference to removed config B43_PCMCIA

Message ID 20221122131248.23738-1-lukas.bulwahn@gmail.com (mailing list archive)
State Accepted
Commit 3ca7f0b2523cac5d436cd09758db07e10b1a322a
Delegated to: Kalle Valo
Headers show
Series wifi: b43: remove reference to removed config B43_PCMCIA | expand

Commit Message

Lukas Bulwahn Nov. 22, 2022, 1:12 p.m. UTC
Commit 399500da18f7 ("ssb: pick PCMCIA host code support from b43 driver")
removes the config B43_PCMCIA.

Clean up the last reference to this removed config B43_PCMCIA in the
b43_print_driverinfo() function.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 drivers/net/wireless/broadcom/b43/main.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

Comments

Info Skymem Nov. 22, 2022, 1:19 p.m. UTC | #1
Hi,
thank you for your information.

On our website you can find email addresses of companies and people.
https://www.skymem.info

In short, it’s like Google for emails.

Best regards,
Robert,
Skymem team

On Tue, Nov 22, 2022 at 2:15 PM Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote:
>
> Commit 399500da18f7 ("ssb: pick PCMCIA host code support from b43 driver")
> removes the config B43_PCMCIA.
>
> Clean up the last reference to this removed config B43_PCMCIA in the
> b43_print_driverinfo() function.
>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> ---
>  drivers/net/wireless/broadcom/b43/main.c | 10 +++-------
>  1 file changed, 3 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/net/wireless/broadcom/b43/main.c b/drivers/net/wireless/broadcom/b43/main.c
> index 298febbdffc0..92ca0b2ca286 100644
> --- a/drivers/net/wireless/broadcom/b43/main.c
> +++ b/drivers/net/wireless/broadcom/b43/main.c
> @@ -5784,15 +5784,12 @@ void b43_controller_restart(struct b43_wldev *dev, const char *reason)
>
>  static void b43_print_driverinfo(void)
>  {
> -       const char *feat_pci = "", *feat_pcmcia = "", *feat_nphy = "",
> +       const char *feat_pci = "", *feat_nphy = "",
>                    *feat_leds = "", *feat_sdio = "";
>
>  #ifdef CONFIG_B43_PCI_AUTOSELECT
>         feat_pci = "P";
>  #endif
> -#ifdef CONFIG_B43_PCMCIA
> -       feat_pcmcia = "M";
> -#endif
>  #ifdef CONFIG_B43_PHY_N
>         feat_nphy = "N";
>  #endif
> @@ -5803,9 +5800,8 @@ static void b43_print_driverinfo(void)
>         feat_sdio = "S";
>  #endif
>         printk(KERN_INFO "Broadcom 43xx driver loaded "
> -              "[ Features: %s%s%s%s%s ]\n",
> -              feat_pci, feat_pcmcia, feat_nphy,
> -              feat_leds, feat_sdio);
> +              "[ Features: %s%s%s%s ]\n",
> +              feat_pci, feat_nphy, feat_leds, feat_sdio);
>  }
>
>  static int __init b43_init(void)
> --
> 2.17.1
>
>
> _______________________________________________
> b43-dev mailing list
> b43-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/b43-dev
Kalle Valo Nov. 28, 2022, 1:57 p.m. UTC | #2
Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote:

> Commit 399500da18f7 ("ssb: pick PCMCIA host code support from b43 driver")
> removes the config B43_PCMCIA.
> 
> Clean up the last reference to this removed config B43_PCMCIA in the
> b43_print_driverinfo() function.
> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>

Patch applied to wireless-next.git, thanks.

3ca7f0b2523c wifi: b43: remove reference to removed config B43_PCMCIA
diff mbox series

Patch

diff --git a/drivers/net/wireless/broadcom/b43/main.c b/drivers/net/wireless/broadcom/b43/main.c
index 298febbdffc0..92ca0b2ca286 100644
--- a/drivers/net/wireless/broadcom/b43/main.c
+++ b/drivers/net/wireless/broadcom/b43/main.c
@@ -5784,15 +5784,12 @@  void b43_controller_restart(struct b43_wldev *dev, const char *reason)
 
 static void b43_print_driverinfo(void)
 {
-	const char *feat_pci = "", *feat_pcmcia = "", *feat_nphy = "",
+	const char *feat_pci = "", *feat_nphy = "",
 		   *feat_leds = "", *feat_sdio = "";
 
 #ifdef CONFIG_B43_PCI_AUTOSELECT
 	feat_pci = "P";
 #endif
-#ifdef CONFIG_B43_PCMCIA
-	feat_pcmcia = "M";
-#endif
 #ifdef CONFIG_B43_PHY_N
 	feat_nphy = "N";
 #endif
@@ -5803,9 +5800,8 @@  static void b43_print_driverinfo(void)
 	feat_sdio = "S";
 #endif
 	printk(KERN_INFO "Broadcom 43xx driver loaded "
-	       "[ Features: %s%s%s%s%s ]\n",
-	       feat_pci, feat_pcmcia, feat_nphy,
-	       feat_leds, feat_sdio);
+	       "[ Features: %s%s%s%s ]\n",
+	       feat_pci, feat_nphy, feat_leds, feat_sdio);
 }
 
 static int __init b43_init(void)