Commit a1dc08b7 authored by Brett Rudley's avatar Brett Rudley Committed by Greg Kroah-Hartman

staging: brcm80211: get rid of last bit of pci configspace workaround.

Signed-off-by: default avatarBrett Rudley <brudley@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent baebc160
...@@ -145,8 +145,6 @@ u32 osl_pci_read_config(osl_t *osh, uint offset, uint size) ...@@ -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) void osl_pci_write_config(osl_t *osh, uint offset, uint size, uint val)
{ {
pci_write_config_dword(osh->pdev, offset, 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 */ /* return bus # for the pci device pointed by osh->pdev */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment