summaryrefslogtreecommitdiff
path: root/drivers/staging/rts5208
diff options
context:
space:
mode:
authorSurya Seetharaman <surya.seetharaman9@gmail.com>2014-10-27 14:26:06 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-28 07:58:18 (GMT)
commit87a979318faa1dac75fe28df9440efe6c1c9c28b (patch)
treeb7463b3cbe8da5d3a896bd49a50cdaf37249aea0 /drivers/staging/rts5208
parent9fd4af8ab48a1485615eeb771d5461b4157ba079 (diff)
downloadlinux-87a979318faa1dac75fe28df9440efe6c1c9c28b.tar.xz
Staging: rts5028: rtsx_transport.c: fixed a brace coding style issue.
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>
Diffstat (limited to 'drivers/staging/rts5208')
-rw-r--r--drivers/staging/rts5208/rtsx_transport.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/rts5208/rtsx_transport.c b/drivers/staging/rts5208/rtsx_transport.c
index 91fb61f..756a968 100644
--- a/drivers/staging/rts5208/rtsx_transport.c
+++ b/drivers/staging/rts5208/rtsx_transport.c
@@ -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);