Skip to content

Commit

Permalink
staging: rtl8192e: rtl92e_clear_irq() is not used
Browse files Browse the repository at this point in the history
The function rtl92e_clear_irq() is not used. Remove it.

Signed-off-by: Michael Straube <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
MichaelStraube authored and gregkh committed Mar 9, 2023
1 parent 5a50c62 commit 466123c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1969,15 +1969,6 @@ void rtl92e_disable_irq(struct net_device *dev)
priv->irq_enabled = 0;
}

void rtl92e_clear_irq(struct net_device *dev)
{
u32 tmp;

tmp = rtl92e_readl(dev, ISR);
rtl92e_writel(dev, ISR, tmp);
}


void rtl92e_enable_rx(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ void rtl92e_enable_rx(struct net_device *dev);
void rtl92e_enable_tx(struct net_device *dev);
void rtl92e_enable_irq(struct net_device *dev);
void rtl92e_disable_irq(struct net_device *dev);
void rtl92e_clear_irq(struct net_device *dev);
void rtl92e_init_variables(struct net_device *dev);
void rtl92e_start_beacon(struct net_device *dev);
void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val);
Expand Down

0 comments on commit 466123c

Please sign in to comment.