]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: wireless: brcm80211: Drop debug version with build date/time
authorJosh Triplett <josh@joshtriplett.org>
Mon, 23 Dec 2013 21:55:03 +0000 (13:55 -0800)
committerMichal Marek <mmarek@suse.cz>
Mon, 27 Jan 2014 22:13:33 +0000 (23:13 +0100)
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>
drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c

index 9431af2465f3135fc76d5df370853a3b85a77d67..78e2999bbe0dbcd28dc32df9ec0becf3cd616576 100644 (file)
 #define BRCMF_DEFAULT_SCAN_UNASSOC_TIME        40
 #define BRCMF_DEFAULT_PACKET_FILTER    "100 0 0 0 0x01 0x00"
 
-#ifdef DEBUG
-static const char brcmf_version[] =
-       "Dongle Host Driver, version " BRCMF_VERSION_STR "\nCompiled on "
-       __DATE__ " at " __TIME__;
-#else
 static const char brcmf_version[] =
        "Dongle Host Driver, version " BRCMF_VERSION_STR;
-#endif
-
 
 bool brcmf_c_prec_enq(struct device *dev, struct pktq *q,
                      struct sk_buff *pkt, int prec)