Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8192e: Remove empty function force_pci_posting()

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Mike McCormack and committed by
Greg Kroah-Hartman
cdeac5df dcf663fb

-16
-5
drivers/staging/rtl8192e/r8180_93cx6.c
··· 30 30 write_nic_byte(dev, EPROM_CMD, read_nic_byte(dev, EPROM_CMD) 31 31 &~(1<<EPROM_CS_SHIFT)); //disable EPROM 32 32 33 - force_pci_posting(dev); 34 33 udelay(EPROM_DELAY); 35 34 } 36 35 ··· 38 39 { 39 40 write_nic_byte(dev, EPROM_CMD, 40 41 (1<<EPROM_CK_SHIFT) | read_nic_byte(dev, EPROM_CMD)); 41 - force_pci_posting(dev); 42 42 udelay(EPROM_DELAY); 43 43 write_nic_byte(dev, EPROM_CMD, 44 44 read_nic_byte(dev, EPROM_CMD) & ~(1<<EPROM_CK_SHIFT)); 45 - force_pci_posting(dev); 46 45 udelay(EPROM_DELAY); 47 46 } 48 47 ··· 54 57 write_nic_byte(dev, EPROM_CMD, read_nic_byte(dev, EPROM_CMD) 55 58 &~(1<<EPROM_W_SHIFT)); 56 59 57 - force_pci_posting(dev); 58 60 udelay(EPROM_DELAY); 59 61 } 60 62 ··· 95 99 //enable EPROM programming 96 100 write_nic_byte(dev, EPROM_CMD, 97 101 (EPROM_CMD_PROGRAM<<EPROM_CMD_OPERATING_MODE_SHIFT)); 98 - force_pci_posting(dev); 99 102 udelay(EPROM_DELAY); 100 103 101 104 if (priv->epromtype == EPROM_93c56) {
-1
drivers/staging/rtl8192e/r8192E.h
··· 1479 1479 void write_nic_byte_E(struct net_device *dev, int x,u8 y); 1480 1480 void write_nic_word(struct net_device *dev, int x,u16 y); 1481 1481 void write_nic_dword(struct net_device *dev, int x,u32 y); 1482 - void force_pci_posting(struct net_device *dev); 1483 1482 1484 1483 void rtl8192_halt_adapter(struct net_device *dev, bool reset); 1485 1484 void rtl8192_rx_enable(struct net_device *);
-10
drivers/staging/rtl8192e/r8192E_core.c
··· 484 484 485 485 } 486 486 487 - /* 488 - * this might still called in what was the PHY rtl8185/rtl8192 common code 489 - * plans are to possibilty turn it again in one common code... 490 - */ 491 - void force_pci_posting(struct net_device *dev) 492 - { 493 - } 494 - 495 487 static struct proc_dir_entry *rtl8192_proc = NULL; 496 488 497 489 static int proc_get_stats_ap(char *page, char **start, ··· 806 814 struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); 807 815 808 816 write_nic_dword(dev,INTA_MASK,0); 809 - force_pci_posting(dev); 810 817 priv->irq_enabled = 0; 811 818 } 812 819 ··· 6529 6538 rtl8192_try_wake_queue(dev, VO_QUEUE); 6530 6539 } 6531 6540 6532 - force_pci_posting(dev); 6533 6541 spin_unlock_irqrestore(&priv->irq_th_lock,flags); 6534 6542 6535 6543 return IRQ_HANDLED;