diff options
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c index 40928e58b6a6..69f335aeb255 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c | |||
@@ -32,8 +32,6 @@ | |||
32 | #define PKTFILTER_BUF_SIZE 2048 | 32 | #define PKTFILTER_BUF_SIZE 2048 |
33 | #define BRCMF_ARPOL_MODE 0xb /* agent|snoop|peer_autoreply */ | 33 | #define BRCMF_ARPOL_MODE 0xb /* agent|snoop|peer_autoreply */ |
34 | 34 | ||
35 | int brcmf_msg_level; | ||
36 | |||
37 | #define MSGTRACE_VERSION 1 | 35 | #define MSGTRACE_VERSION 1 |
38 | 36 | ||
39 | #define BRCMF_PKT_FILTER_FIXED_LEN offsetof(struct brcmf_pkt_filter_le, u) | 37 | #define BRCMF_PKT_FILTER_FIXED_LEN offsetof(struct brcmf_pkt_filter_le, u) |
@@ -85,19 +83,6 @@ brcmf_c_mkiovar(char *name, char *data, uint datalen, char *buf, uint buflen) | |||
85 | return len; | 83 | return len; |
86 | } | 84 | } |
87 | 85 | ||
88 | void brcmf_c_init(void) | ||
89 | { | ||
90 | /* Init global variables at run-time, not as part of the declaration. | ||
91 | * This is required to support init/de-init of the driver. | ||
92 | * Initialization | ||
93 | * of globals as part of the declaration results in non-deterministic | ||
94 | * behaviour since the value of the globals may be different on the | ||
95 | * first time that the driver is initialized vs subsequent | ||
96 | * initializations. | ||
97 | */ | ||
98 | brcmf_msg_level = BRCMF_ERROR_VAL; | ||
99 | } | ||
100 | |||
101 | bool brcmf_c_prec_enq(struct brcmf_pub *drvr, struct pktq *q, | 86 | bool brcmf_c_prec_enq(struct brcmf_pub *drvr, struct pktq *q, |
102 | struct sk_buff *pkt, int prec) | 87 | struct sk_buff *pkt, int prec) |
103 | { | 88 | { |