mirror of
https://github.com/torvalds/linux.git
synced 2026-10-10 20:38:02 +02:00
staging: rtl8192e: Remove unused variable p_intb
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>
This commit is contained in:
parent
7363749d09
commit
810d7b8845
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user