Skip to content

Commit 5aeb210

Browse files
joshtriplettmichal42
authored andcommitted
net: wireless: brcm80211: Drop debug version with build date/time
The kernel already has this information, and individual drivers shouldn't duplicate that. This also eliminates the use of __DATE__ and __TIME__, which make the build non-deterministic. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
1 parent 29f7505 commit 5aeb210

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,8 @@
3232
#define BRCMF_DEFAULT_SCAN_UNASSOC_TIME 40
3333
#define BRCMF_DEFAULT_PACKET_FILTER "100 0 0 0 0x01 0x00"
3434

35-
#ifdef DEBUG
36-
static const char brcmf_version[] =
37-
"Dongle Host Driver, version " BRCMF_VERSION_STR "\nCompiled on "
38-
__DATE__ " at " __TIME__;
39-
#else
4035
static const char brcmf_version[] =
4136
"Dongle Host Driver, version " BRCMF_VERSION_STR;
42-
#endif
43-
4437

4538
bool brcmf_c_prec_enq(struct device *dev, struct pktq *q,
4639
struct sk_buff *pkt, int prec)

0 commit comments

Comments
 (0)