staging: rtl8192e: Remove unused variable is_mesh from rtllib_send_probe
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 29 Jul 2023 07:53:14 +0000 (09:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2023 10:29:05 +0000 (12:29 +0200)
Function rtllib_send_probe() has unused parameter is_mesh. Remove dead
code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/5b1f4b9d8f81790c151adc7f9b6611f0b5cd94a5.1690615475.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c

index 584371f0ce579581ff8d1017413c4eff91a89c39..06b872c1ad683a9d08a72c47e60b564007b42dc2 100644 (file)
@@ -449,7 +449,7 @@ void rtllib_DisableIntelPromiscuousMode(struct net_device *dev,
 }
 EXPORT_SYMBOL(rtllib_DisableIntelPromiscuousMode);
 
-static void rtllib_send_probe(struct rtllib_device *ieee, u8 is_mesh)
+static void rtllib_send_probe(struct rtllib_device *ieee)
 {
        struct sk_buff *skb;
 
@@ -464,8 +464,8 @@ static void rtllib_send_probe_requests(struct rtllib_device *ieee, u8 is_mesh)
 {
        if (ieee->active_scan && (ieee->softmac_features &
            IEEE_SOFTMAC_PROBERQ)) {
-               rtllib_send_probe(ieee, 0);
-               rtllib_send_probe(ieee, 0);
+               rtllib_send_probe(ieee);
+               rtllib_send_probe(ieee);
        }
 }