]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: rts5028: rtsx_transport.c: fixed a brace coding style issue.
authorSurya Seetharaman <surya.seetharaman9@gmail.com>
Mon, 27 Oct 2014 14:26:06 +0000 (19:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2014 07:58:18 +0000 (15:58 +0800)
Removed unwanted braces using checkpatch.pl tool.

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_transport.c

index 91fb61f61c919e6e24f43a33ddcdfc89c36d6bf9..756a9687c29390cb5e327cb4f25b2b74e8c4ab29 100644 (file)
@@ -728,15 +728,13 @@ int rtsx_transfer_data_partial(struct rtsx_chip *chip, u8 card,
        if (rtsx_chk_stat(chip, RTSX_STAT_ABORT))
                return -EIO;
 
-       if (use_sg) {
+       if (use_sg)
                err = rtsx_transfer_sglist_adma_partial(chip, card,
                                (struct scatterlist *)buf, use_sg,
                                index, offset, (int)len, dma_dir, timeout);
-       } else {
+       else
                err = rtsx_transfer_buf(chip, card,
                                        buf, len, dma_dir, timeout);
-       }
-
        if (err < 0) {
                if (RTSX_TST_DELINK(chip)) {
                        RTSX_CLR_DELINK(chip);