staging: rts5208: xd.c: Remove multiple assignments
authorWayne Porter <wporter82@gmail.com>
Mon, 3 Oct 2016 23:18:55 +0000 (23:18 +0000)
committerGreg 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

index 66f96dc..85aba05 100644 (file)
@@ -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++) {