summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ks7010/ks_hostif.c
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-03-09 15:47:01 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-09 14:01:29 +0100
commitc88ff5ae49a7f0e9eb2da2ddaba58475d45fbf31 (patch)
treee2edf863a74e7c5b080dad769d4050e582f16ee0 /drivers/staging/ks7010/ks_hostif.c
parent3ad900479523921323de8b751bb231b40027f884 (diff)
downloadop-kernel-dev-c88ff5ae49a7f0e9eb2da2ddaba58475d45fbf31.zip
op-kernel-dev-c88ff5ae49a7f0e9eb2da2ddaba58475d45fbf31.tar.gz
staging: ks7010: fix checkpatch whitespace warnings
Checkpatch emits various warnings/errors pointing to misplaced spaces. - trailing whitespace - please, no spaces at the start of a line - please, no space before tabs - Unnecessary space before function pointer arguments - unnecessary whitespace before a quoted newline - code indent should use tabs where possible Remove all undesirable whitespace. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/ks_hostif.c')
-rw-r--r--drivers/staging/ks7010/ks_hostif.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 946bb78..bf77483 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -2616,14 +2616,12 @@ void hostif_sme_enqueue(struct ks_wlan_private *priv, unsigned short event)
if (cnt_smeqbody(priv) < (SME_EVENT_BUFF_SIZE - 1)) {
priv->sme_i.event_buff[priv->sme_i.qtail] = event;
inc_smeqtail(priv);
- //DPRINTK(3,"inc_smeqtail \n");
#ifdef KS_WLAN_DEBUG
if (priv->sme_i.max_event_count < cnt_smeqbody(priv))
priv->sme_i.max_event_count = cnt_smeqbody(priv);
#endif /* KS_WLAN_DEBUG */
} else {
/* in case of buffer overflow */
- //DPRINTK(2,"sme queue buffer overflow\n");
netdev_err(priv->net_dev, "sme queue buffer overflow\n");
}
OpenPOWER on IntegriCloud