summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/rtl871x_sta_mgt.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-01-08 02:11:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-15 18:08:36 +0300
commit41be1dc75efb81bf3cfb9838998166ce1104e7f3 (patch)
tree6105e81c4794068cab6fd34beed0bb5acf079765 /drivers/staging/rtl8712/rtl871x_sta_mgt.c
parent7c106cbb2ba8c86bedd2868b690aee8965476b3b (diff)
downloadlinux-41be1dc75efb81bf3cfb9838998166ce1104e7f3.tar.xz
staging: rtl8712: clean up various indentation and coding style issues
There are several statements that are indented incorrectly so fix these. Also remove unnecessary { } braces and clean up a comment. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_sta_mgt.c')
-rw-r--r--drivers/staging/rtl8712/rtl871x_sta_mgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_sta_mgt.c b/drivers/staging/rtl8712/rtl871x_sta_mgt.c
index 9648ee15b40e..7c30b9e68e70 100644
--- a/drivers/staging/rtl8712/rtl871x_sta_mgt.c
+++ b/drivers/staging/rtl8712/rtl871x_sta_mgt.c
@@ -25,7 +25,7 @@
static void _init_stainfo(struct sta_info *psta)
{
memset((u8 *)psta, 0, sizeof(struct sta_info));
- spin_lock_init(&psta->lock);
+ spin_lock_init(&psta->lock);
INIT_LIST_HEAD(&psta->list);
INIT_LIST_HEAD(&psta->hash_list);
_r8712_init_sta_xmit_priv(&psta->sta_xmitpriv);