staging: rtl8723bs: hal: sdio_ops.c: Remove unnecessary parentheses
authorPayal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Sat, 30 Mar 2019 05:12:40 +0000 (10:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Mar 2019 08:28:32 +0000 (09:28 +0100)
Challenge suggested by coccinelle.
Remove unnecessary parentheses around expressions.

Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/sdio_ops.c

index 92191e9789bb0681c620716a8f20a5b7bb17d231..050ef9f2be64b7371ac3428acd396f5d8e8e7650 100644 (file)
@@ -550,7 +550,7 @@ static s32 _sdio_local_read(
        n = RND4(cnt);
        tmpbuf = rtw_malloc(n);
        if (!tmpbuf)
-               return (-1);
+               return -1;
 
        err = _sd_read(intfhdl, addr, n, tmpbuf);
        if (!err)
@@ -591,7 +591,7 @@ s32 sdio_local_read(
        n = RND4(cnt);
        tmpbuf = rtw_malloc(n);
        if (!tmpbuf)
-               return (-1);
+               return -1;
 
        err = sd_read(intfhdl, addr, n, tmpbuf);
        if (!err)
@@ -636,7 +636,7 @@ s32 sdio_local_write(
 
        tmpbuf = rtw_malloc(cnt);
        if (!tmpbuf)
-               return (-1);
+               return -1;
 
        memcpy(tmpbuf, buf, cnt);