summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/os_dep
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzejtp2010@gmail.com>2015-06-08 23:16:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-10 18:04:04 -0700
commite703f23747e25db6ccc1f752f787925f86c27f31 (patch)
treea305b2a2a42ea85e11189230386b83adeb4c721d /drivers/staging/rtl8188eu/os_dep
parent623f0e137c0fedb81bbf3d88be4ed300eee163da (diff)
downloadop-kernel-dev-e703f23747e25db6ccc1f752f787925f86c27f31.zip
op-kernel-dev-e703f23747e25db6ccc1f752f787925f86c27f31.tar.gz
staging: rtl8188eu: eliminate spaces before commas
Eliminate "space prohibited before that ','" errors found by checkpatch, but do this only to lines which after the patch is applied do not exceed 80 characters. Out of that only those lines are changed, whose context does not exceed 80 characters in each line. In other words the changes are limited to cases where the patch generated is itself checkpatch-correct. Rebased onto next-20150605. Signed-off-by: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/os_dep')
-rw-r--r--drivers/staging/rtl8188eu/os_dep/rtw_android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/rtw_android.c b/drivers/staging/rtl8188eu/os_dep/rtw_android.c
index 99ce077..5f3337c 100644
--- a/drivers/staging/rtl8188eu/os_dep/rtw_android.c
+++ b/drivers/staging/rtl8188eu/os_dep/rtw_android.c
@@ -79,7 +79,7 @@ int rtw_android_cmdstr_to_num(char *cmdstr)
{
int cmd_num;
for (cmd_num = 0; cmd_num < ANDROID_WIFI_CMD_MAX; cmd_num++)
- if (0 == strncasecmp(cmdstr , android_wifi_cmd_str[cmd_num],
+ if (0 == strncasecmp(cmdstr, android_wifi_cmd_str[cmd_num],
strlen(android_wifi_cmd_str[cmd_num])))
break;
return cmd_num;
OpenPOWER on IntegriCloud