projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40eeb86
)
staging: rts5208: xd.c: Remove multiple assignments
author
Wayne Porter
<wporter82@gmail.com>
Mon, 3 Oct 2016 23:18:55 +0000
(23:18 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:05 +0000
(10:25 +0200)
Checkpatch found multiple assignments on one line so move
them to their own lines.
Signed-off-by: Wayne Porter <wporter82@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/xd.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rts5208/xd.c
b/drivers/staging/rts5208/xd.c
index 66f96dc567651f61f2f87b466a68d360e86e5314..85aba05acbc1ffcff497b81e2a02b177d3eb0a26 100644
(file)
--- a/
drivers/staging/rts5208/xd.c
+++ b/
drivers/staging/rts5208/xd.c
@@
-1489,7
+1489,8
@@
static int xd_build_l2p_tbl(struct rtsx_chip *chip, int zone_no)
dev_dbg(rtsx_dev(chip), "start block 0x%x, end block 0x%x\n",
start, end);
- zone->set_index = zone->get_index = 0;
+ zone->set_index = 0;
+ zone->get_index = 0;
zone->unused_blk_cnt = 0;
for (i = start; i < end; i++) {