[PATCH 3/5] Staging: rtl8723bs: os_dep: Fix else to follow close brace

From: Guilherme Tadashi Maeoka
Date: Sat Mar 09 2019 - 13:31:32 EST


Fix else not following close brace '}'.

Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@xxxxxxxxx>
---
drivers/staging/rtl8723bs/os_dep/osdep_service.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index 5a58e1d40f7e..65921b946ff7 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -81,8 +81,7 @@ static int openFile(struct file **fpp, char *path, int flag, int mode)
if (IS_ERR(fp)) {
*fpp = NULL;
return PTR_ERR(fp);
- }
- else {
+ } else {
*fpp = fp;
return 0;
}
@@ -135,8 +134,7 @@ static int isFileReadable(char *path)
fp = filp_open(path, O_RDONLY, 0);
if (IS_ERR(fp)) {
ret = PTR_ERR(fp);
- }
- else {
+ } else {
oldfs = get_fs(); set_fs(KERNEL_DS);

if (1 != readFile(fp, &buf, 1))
--
2.17.1