mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 04:28:10 -04:00
staging: rtl8192e: rtl92e_clear_irq() is not used
The function rtl92e_clear_irq() is not used. Remove it. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20230309110439.24504-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5a50c621a4
commit
466123c54f
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user