diff options
author | Sergio Paracuellos | 2018-03-20 15:36:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-03-22 18:20:54 +0100 |
commit | a00c38a335a858ec87ebc6c456e779966c58934e (patch) | |
tree | a9aebaaad48c78767e62c2a5d41d586a4795a502 /drivers/staging/ks7010/ks_wlan.h | |
parent | staging: ks7010: replace KS_WLAN_DEBUG with DEBUG preprocessor directive (diff) | |
download | kernel-qcow2-linux-a00c38a335a858ec87ebc6c456e779966c58934e.tar.gz kernel-qcow2-linux-a00c38a335a858ec87ebc6c456e779966c58934e.tar.xz kernel-qcow2-linux-a00c38a335a858ec87ebc6c456e779966c58934e.zip |
staging: ks7010: remove max_event_count field which is only being used in debug
This patch removes max_event_count field of sme_info structure which is a
write only variable just being used for debug purposes.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/ks_wlan.h')
-rw-r--r-- | drivers/staging/ks7010/ks_wlan.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h index 6bad88d287fd..aeabbe37619b 100644 --- a/drivers/staging/ks7010/ks_wlan.h +++ b/drivers/staging/ks7010/ks_wlan.h @@ -192,10 +192,6 @@ struct sme_info { int event_buff[SME_EVENT_BUFF_SIZE]; unsigned int qhead; unsigned int qtail; -#ifdef DEBUG - /* for debug */ - unsigned int max_event_count; -#endif spinlock_t sme_spin; unsigned long sme_flag; }; |