Skip to content

Commit

Permalink
staging: brcm80211: get rid of last bit of pci configspace workaround.
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Brett Rudley authored and Greg Kroah-Hartman committed Nov 16, 2010
1 parent baebc16 commit a1dc08b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/brcm80211/util/linux_osl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit a1dc08b

Please sign in to comment.