summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/ioctl.c
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2010-05-19 23:50:00 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-18 10:34:59 -0700
commit33d33e42b647095b01b1223c7b88718584129d2e (patch)
treeffb50c81acc4042eb5ffa5a3ef8341ac04bde8aa /drivers/staging/vt6656/ioctl.c
parentafb97d9a265f6001411df43d3ea523338c73c83f (diff)
downloadop-kernel-dev-33d33e42b647095b01b1223c7b88718584129d2e.zip
op-kernel-dev-33d33e42b647095b01b1223c7b88718584129d2e.tar.gz
Staging: vt6656: code cleanup, fixed 'for' statements
Resolved checkpatch findings, but some long lines warnings. ERROR: space required before the open parenthesis '(' ERROR: spaces required around that Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/ioctl.c')
-rw-r--r--drivers/staging/vt6656/ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/ioctl.c b/drivers/staging/vt6656/ioctl.c
index 19a84b6..7c32125 100644
--- a/drivers/staging/vt6656/ioctl.c
+++ b/drivers/staging/vt6656/ioctl.c
@@ -232,10 +232,10 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
pDevice->bEncryptionEnable = FALSE;
pDevice->eEncryptionStatus = Ndis802_11EncryptionDisabled;
spin_lock_irq(&pDevice->lock);
- for(uu=0;uu<MAX_KEY_TABLE;uu++)
- MACvDisableKeyEntry(pDevice,uu);
+ for (uu = 0; uu < MAX_KEY_TABLE; uu++)
+ MACvDisableKeyEntry(pDevice, uu);
spin_unlock_irq(&pDevice->lock);
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "WEP function disable. \n");
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "WEP function disable.\n");
break;
}
OpenPOWER on IntegriCloud