summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts5208/rtsx_transport.c
diff options
context:
space:
mode:
authorTina Johnson <tinajohnson.1234@gmail.com>2014-10-25 23:13:42 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-28 15:58:17 +0800
commit9fd4af8ab48a1485615eeb771d5461b4157ba079 (patch)
treef20b40dd53f23b9866e66ab3a9fcf5bb8cebb2b4 /drivers/staging/rts5208/rtsx_transport.c
parentdb9c9305701a2ee006d2a28770a7aa2dda70a087 (diff)
downloadop-kernel-dev-9fd4af8ab48a1485615eeb771d5461b4157ba079.zip
op-kernel-dev-9fd4af8ab48a1485615eeb771d5461b4157ba079.tar.gz
Staging: rts5208: Removed unnecessary parentheses
Unnecessary parentheses around the right hand side of an assignment is removed using the following semantic patch: @@ identifier x,f; constant C; @@ ( -x = (f / C ); +x = f / C ; | -x = (f % C ); +x = f % C ; ) Signed-off-by: Tina Johnson <tinajohnson.1234@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rts5208/rtsx_transport.c')
-rw-r--r--drivers/staging/rts5208/rtsx_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts5208/rtsx_transport.c b/drivers/staging/rts5208/rtsx_transport.c
index 0a67dca..91fb61f 100644
--- a/drivers/staging/rts5208/rtsx_transport.c
+++ b/drivers/staging/rts5208/rtsx_transport.c
@@ -539,7 +539,7 @@ static int rtsx_transfer_sglist_adma(struct rtsx_chip *chip, u8 card,
if (i == buf_cnt / (HOST_SG_TBL_BUF_LEN / 8))
sg_cnt = buf_cnt % (HOST_SG_TBL_BUF_LEN / 8);
else
- sg_cnt = (HOST_SG_TBL_BUF_LEN / 8);
+ sg_cnt = HOST_SG_TBL_BUF_LEN / 8;
chip->sgi = 0;
for (j = 0; j < sg_cnt; j++) {
OpenPOWER on IntegriCloud