staging: brcm80211: get rid of last bit of pci configspace workaround.
authorBrett Rudley <brudley@broadcom.com>
Sat, 13 Nov 2010 02:10:17 +0000 (18:10 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 19:45:53 +0000 (11:45 -0800)
Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/util/linux_osl.c

index 461ecba..625cbac 100644 (file)
@@ -145,8 +145,6 @@ u32 osl_pci_read_config(osl_t *osh, uint offset, uint size)
 void osl_pci_write_config(osl_t *osh, uint offset, uint size, uint val)
 {
        pci_write_config_dword(osh->pdev, offset, val);
-       if (offset == PCI_BAR0_WIN)
-               ASSERT(osl_pci_read_config(osh, offset, size) == val);
 }
 
 /* return bus # for the pci device pointed by osh->pdev */