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