diff options
author | Aybuke Ozdemir <aybuke.147@gmail.com> | 2014-09-19 02:23:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-19 16:30:11 -0700 |
commit | 8c09757d91703ccbf0da9fc67764de9714c9e615 (patch) | |
tree | c8fba25e269484a79e92c441f8f72883581f1ac2 | |
parent | 867ce1bd68fb1eadb70b82bcda1e451b27ff824a (diff) | |
download | linux-8c09757d91703ccbf0da9fc67764de9714c9e615.tar.gz linux-8c09757d91703ccbf0da9fc67764de9714c9e615.tar.bz2 linux-8c09757d91703ccbf0da9fc67764de9714c9e615.zip |
Staging: rtl8723au: core: Fix unnecassary braces warning.
This patch fixes these warning messages found by checkpatch.pl:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8723au/core/rtw_sreset.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723au/core/rtw_sreset.c b/drivers/staging/rtl8723au/core/rtw_sreset.c index 9a79e11f7ffc..58ed980795a6 100644 --- a/drivers/staging/rtl8723au/core/rtw_sreset.c +++ b/drivers/staging/rtl8723au/core/rtw_sreset.c @@ -173,9 +173,8 @@ static void sreset_start_adapter(struct rtw_adapter *padapter) DBG_8723A("%s(%s)\n", __func__, padapter->pnetdev->name); - if (check_fwstate(pmlmepriv, _FW_LINKED)) { + if (check_fwstate(pmlmepriv, _FW_LINKED)) sreset_restore_network_status(padapter); - } /* TODO: OS and HCI independent */ tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); |