From: Toshiaki Yamane Date: Fri, 7 Sep 2012 04:25:08 +0000 (+0900) Subject: staging/rts_pstor: remove braces {} in sd.c (sd_set_init_para) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e06ed0db9709c968da1e78d3692b733a8ebc5f45;p=openwrt%2Fstaging%2Fblogic.git staging/rts_pstor: remove braces {} in sd.c (sd_set_init_para) 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 1af521088e96..89d0487b8487 100644 --- a/drivers/staging/rts_pstor/sd.c +++ b/drivers/staging/rts_pstor/sd.c @@ -687,16 +687,14 @@ static int sd_set_init_para(struct rtsx_chip *chip) int retval; retval = sd_set_sample_push_timing(chip); - if (retval != STATUS_SUCCESS) { + if (retval != STATUS_SUCCESS) TRACE_RET(chip, STATUS_FAIL); - } sd_choose_proper_clock(chip); retval = switch_clock(chip, sd_card->sd_clock); - if (retval != STATUS_SUCCESS) { + if (retval != STATUS_SUCCESS) TRACE_RET(chip, STATUS_FAIL); - } return STATUS_SUCCESS; }