From: Mike McCormack Date: Mon, 20 Sep 2010 14:11:49 +0000 (+0900) Subject: staging: rtl8192e: Remove empty function force_pci_posting() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cdeac5df346a7281d90cfe6bdda610adfc4155e6;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Remove empty function force_pci_posting() Signed-off-by: Mike McCormack Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/r8180_93cx6.c b/drivers/staging/rtl8192e/r8180_93cx6.c index a554627a0bcf..c38dd176987d 100644 --- a/drivers/staging/rtl8192e/r8180_93cx6.c +++ b/drivers/staging/rtl8192e/r8180_93cx6.c @@ -30,7 +30,6 @@ static void eprom_cs(struct net_device *dev, short bit) write_nic_byte(dev, EPROM_CMD, read_nic_byte(dev, EPROM_CMD) &~(1<epromtype == EPROM_93c56) { diff --git a/drivers/staging/rtl8192e/r8192E.h b/drivers/staging/rtl8192e/r8192E.h index 1e3375c58cca..4a83958ac24d 100644 --- a/drivers/staging/rtl8192e/r8192E.h +++ b/drivers/staging/rtl8192e/r8192E.h @@ -1479,7 +1479,6 @@ void write_nic_byte(struct net_device *dev, int x,u8 y); void write_nic_byte_E(struct net_device *dev, int x,u8 y); void write_nic_word(struct net_device *dev, int x,u16 y); void write_nic_dword(struct net_device *dev, int x,u32 y); -void force_pci_posting(struct net_device *dev); void rtl8192_halt_adapter(struct net_device *dev, bool reset); void rtl8192_rx_enable(struct net_device *); diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c index 660baf0cd52f..d3d54a63c0dd 100644 --- a/drivers/staging/rtl8192e/r8192E_core.c +++ b/drivers/staging/rtl8192e/r8192E_core.c @@ -484,14 +484,6 @@ rtl8192e_SetHwReg(struct net_device *dev,u8 variable,u8* val) } -/* - * this might still called in what was the PHY rtl8185/rtl8192 common code - * plans are to possibilty turn it again in one common code... - */ -void force_pci_posting(struct net_device *dev) -{ -} - static struct proc_dir_entry *rtl8192_proc = NULL; static int proc_get_stats_ap(char *page, char **start, @@ -814,7 +806,6 @@ void rtl8192_irq_disable(struct net_device *dev) struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); write_nic_dword(dev,INTA_MASK,0); - force_pci_posting(dev); priv->irq_enabled = 0; } @@ -6538,7 +6529,6 @@ static irqreturn_t rtl8192_interrupt(int irq, void *netdev) rtl8192_try_wake_queue(dev, VO_QUEUE); } - force_pci_posting(dev); spin_unlock_irqrestore(&priv->irq_th_lock,flags); return IRQ_HANDLED;