Messages in this thread Patch in this message | | | From | Guilherme Tadashi Maeoka <> | Subject | [PATCH 3/5] Staging: rtl8723bs: os_dep: Fix else to follow close brace | Date | Sat, 9 Mar 2019 15:30:45 -0300 |
| |
Fix else not following close brace '}'.
Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@gmail.com> --- 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
| |