diff options
author | Michael Straube <straube.linux@gmail.com> | 2018-12-18 19:34:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-19 08:32:33 +0100 |
commit | 0fe6dc4d689286ef81fbc2f4833398fac89d798e (patch) | |
tree | a8d8a6a8823cf4cedff202c9ade8bdcc6c7b91a7 /drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | |
parent | staging: rtl8188eu: add spaces around '&' in rtw_mlme_ext.c (diff) | |
download | linux-dev-0fe6dc4d689286ef81fbc2f4833398fac89d798e.tar.xz linux-dev-0fe6dc4d689286ef81fbc2f4833398fac89d798e.zip |
staging: rtl8188eu: cleanup brace coding style issues
Cleanup brace coding style issues reported by checkpatch.
ERROR: space required before the open brace '{'
WARNING: braces {} are not necessary for single statement blocks
CHECK: Unbalanced braces around else statement
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c')
-rw-r--r-- | drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c index d5a1cf92ca6f..086f98d38cba 100644 --- a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c +++ b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c @@ -232,9 +232,8 @@ s32 InitLLTTable(struct adapter *padapter, u8 txpktbuf_bndy) /* Let last entry point to the start entry of ring buffer */ status = _LLTWrite(padapter, Last_Entry_Of_TxPktBuf, txpktbuf_bndy); - if (status != _SUCCESS) { + if (status != _SUCCESS) return status; - } } return status; |