[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190309183047.10781-4-gui.maeoka@gmail.com>
Date: Sat, 9 Mar 2019 15:30:45 -0300
From: Guilherme Tadashi Maeoka <gui.maeoka@...il.com>
To: gregkh@...uxfoundation.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Guilherme Tadashi Maeoka <gui.maeoka@...il.com>
Subject: [PATCH 3/5] Staging: rtl8723bs: os_dep: Fix else to follow close brace
Fix else not following close brace '}'.
Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@...il.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
Powered by blists - more mailing lists