staging: rtl8192e: Remove unused variable p_intb
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 29 Jul 2023 07:52:34 +0000 (09:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2023 10:29:05 +0000 (12:29 +0200)
Remove unused variable p_intb of rtl92e_ack_irq.

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

index 5ac6af7e3a7927ce623a0bb94f93ce994d4047f1..5bfd84b08dd9966511bf0e1fa69dfe033df9b0b3 100644 (file)
@@ -1912,7 +1912,7 @@ void rtl92e_enable_tx(struct net_device *dev)
                rtl92e_writel(dev, TX_DESC_BASE[i], priv->tx_ring[i].dma);
 }
 
-void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb)
+void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta)
 {
        *p_inta = rtl92e_readl(dev, ISR);
        rtl92e_writel(dev, ISR, *p_inta);
index fa3b71dbb09141ab97e51cc69207ec0bbe74d439..11366fda4ec3d8a6a5c2ead3219ff7cc0297720f 100644 (file)
@@ -13,7 +13,7 @@ bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev);
 bool rtl92e_get_nmode_support_by_sec(struct net_device *dev);
 bool rtl92e_is_tx_stuck(struct net_device *dev);
 bool rtl92e_is_rx_stuck(struct net_device *dev);
-void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb);
+void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta);
 void rtl92e_enable_rx(struct net_device *dev);
 void rtl92e_enable_tx(struct net_device *dev);
 void rtl92e_enable_irq(struct net_device *dev);
index aaff8d739efea72f24d42ee40c872fddce909dd5..cfad170008c69568f5298296c570f6aa1df479b9 100644 (file)
@@ -1982,7 +1982,7 @@ static irqreturn_t _rtl92e_irq(int irq, void *netdev)
 
        spin_lock_irqsave(&priv->irq_th_lock, flags);
 
-       rtl92e_ack_irq(dev, &inta, &intb);
+       rtl92e_ack_irq(dev, &inta);
 
        if (!inta) {
                spin_unlock_irqrestore(&priv->irq_th_lock, flags);