aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/rts_pstor/sd.c
diff options
context:
space:
mode:
authorToshiaki Yamane <yamanetoshi@gmail.com>2012-09-07 13:28:44 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-10 15:36:04 -0700
commit04934c4747fd5459a918df0e9e8c2aa1d629b637 (patch)
tree9ae62228781493d5ab9991c8afa498c776e2aa83 /drivers/staging/rts_pstor/sd.c
parent211ccb397b51ccb0953b0374c5c4f7e4df5574a8 (diff)
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/sd.c')
-rw-r--r--drivers/staging/rts_pstor/sd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor/sd.c
index 36b7f49d202..c90deb6bafb 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;
}