mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 10:45:09 +07:00
staging: rtl8723bs: hal: sdio_ops.c: Remove unnecessary parentheses
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>
This commit is contained in:
parent
41604797e5
commit
13b7e0139b
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user