From: Toshiaki Yamane Date: Fri, 7 Sep 2012 04:28:44 +0000 (+0900) Subject: staging/rts_pstor: remove braces {} in sd.c (sd_check_switch) X-Git-Tag: next-20120911~21^2~76 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=04934c4747fd5459a918df0e9e8c2aa1d629b637;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor/sd.c index 36b7f49d2027..c90deb6bafb8 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; }