Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220157
b: refs/heads/master
c: c62add3
h: refs/heads/master
i:
  220155: 4c0a771
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 7, 2010
1 parent 3eed303 commit 52ad6be
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 364eb72a3965ddf3291be74562081b1c19813473
refs/heads/master: c62add38420029de50d1e4c16795211d748dd08b
2 changes: 0 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -1787,7 +1787,6 @@ static int dhd_stop(struct net_device *net)
__func__));
#endif /* !defined(IGNORE_ETH0_DOWN) */

OLD_MOD_DEC_USE_COUNT;
return 0;
}

Expand Down Expand Up @@ -1836,7 +1835,6 @@ static int dhd_open(struct net_device *net)
}
#endif

OLD_MOD_INC_USE_COUNT;
return ret;
}

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -3129,7 +3129,6 @@ int32 wl_cfg80211_attach(struct net_device *ndev, void *data)
ci = (struct wl_iface *)wl_to_ci(wl);
ci->wl = wl;
ndev->ieee80211_ptr = wdev;
SET_NETDEV_DEV(ndev, wiphy_dev(wdev->wiphy));
wdev->netdev = ndev;
err = wl_init_priv(wl);
if (unlikely(err)) {
Expand Down
17 changes: 0 additions & 17 deletions trunk/drivers/staging/brcm80211/include/linuxver.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,6 @@ typedef irqreturn_t(*FN_ISR) (int irq, void *dev_id, struct pt_regs * ptregs);
#define PCI_SAVE_STATE(a, b) pci_save_state(a)
#define PCI_RESTORE_STATE(a, b) pci_restore_state(a)

/* Module refcount handled internally in 2.6.x */
#ifndef SET_MODULE_OWNER
#define SET_MODULE_OWNER(dev) do {} while (0)
#endif
#ifndef MOD_INC_USE_COUNT
#define MOD_INC_USE_COUNT do {} while (0)
#endif
#ifndef MOD_DEC_USE_COUNT
#define MOD_DEC_USE_COUNT do {} while (0)
#endif
#define OLD_MOD_INC_USE_COUNT MOD_INC_USE_COUNT
#define OLD_MOD_DEC_USE_COUNT MOD_DEC_USE_COUNT

#ifndef SET_NETDEV_DEV
#define SET_NETDEV_DEV(net, pdev) do {} while (0)
#endif

#ifndef HAVE_FREE_NETDEV
#define free_netdev(dev) kfree(dev)
#endif
Expand Down

0 comments on commit 52ad6be

Please sign in to comment.