diff options
author | Toshiaki Yamane <yamanetoshi@gmail.com> | 2012-09-07 04:28:44 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 22:36:04 (GMT) |
commit | 04934c4747fd5459a918df0e9e8c2aa1d629b637 (patch) | |
tree | 9ae62228781493d5ab9991c8afa498c776e2aa83 /drivers/staging/rts_pstor | |
parent | 211ccb397b51ccb0953b0374c5c4f7e4df5574a8 (diff) | |
download | linux-fsl-qoriq-04934c4747fd5459a918df0e9e8c2aa1d629b637.tar.xz |
staging/rts_pstor: remove braces {} in sd.c (sd_check_switch)
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor/sd.c index 36b7f49..c90deb6 100644 --- a/drivers/staging/rts_pstor/sd.c +++ b/drivers/staging/rts_pstor/sd.c @@ -1208,9 +1208,8 @@ static int sd_check_switch(struct rtsx_chip *chip, wait_timeout(20); } - if (!switch_good) { + if (!switch_good) TRACE_RET(chip, STATUS_FAIL); - } return STATUS_SUCCESS; } |