diff options
author | Toshiaki Yamane <yamanetoshi@gmail.com> | 2012-09-07 04:31:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 22:36:05 (GMT) |
commit | 1b0ecf7f6c9e357e58a5ee6a5f9e98d13341602c (patch) | |
tree | 2ef0b65c721568bb6d0ecda86c6cf5b45c3ff4ee /drivers/staging/rts_pstor | |
parent | 25a52911a90838cc37b8eda092bed42381317791 (diff) | |
download | linux-fsl-qoriq-1b0ecf7f6c9e357e58a5ee6a5f9e98d13341602c.tar.xz |
staging/rts_pstor: remove braces {} in sd.c (sd_sdr_tuning)
fixed below checkpatch warnings.
-WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Toshiaki Yamane <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rts_pstor')
-rw-r--r-- | drivers/staging/rts_pstor/sd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor/sd.c index 02139b4..b623c9f 100644 --- a/drivers/staging/rts_pstor/sd.c +++ b/drivers/staging/rts_pstor/sd.c @@ -1829,14 +1829,12 @@ static int sd_sdr_tuning(struct rtsx_chip *chip) int retval; retval = sd_tuning_tx(chip); - if (retval != STATUS_SUCCESS) { + if (retval != STATUS_SUCCESS) TRACE_RET(chip, STATUS_FAIL); - } retval = sd_tuning_rx(chip); - if (retval != STATUS_SUCCESS) { + if (retval != STATUS_SUCCESS) TRACE_RET(chip, STATUS_FAIL); - } return STATUS_SUCCESS; } |