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: firefly_0821_release~3680^2~1977^2~482 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=04934c4747fd5459a918df0e9e8c2aa1d629b637;p=firefly-linux-kernel-4.4.55.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; }