From: Toshiaki Yamane Date: Fri, 7 Sep 2012 04:25:48 +0000 (+0900) Subject: staging/rts_pstor: remove braces {} in sd.c (sd_select_card) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c18a261a915cd1acc5ece124fb336fb64cc0b41a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging/rts_pstor: remove braces {} in sd.c (sd_select_card) 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 89d0487b8487..4b1763caf4be 100644 --- a/drivers/staging/rts_pstor/sd.c +++ b/drivers/staging/rts_pstor/sd.c @@ -717,9 +717,8 @@ int sd_select_card(struct rtsx_chip *chip, int select) } retval = sd_send_cmd_get_rsp(chip, cmd_idx, addr, cmd_type, NULL, 0); - if (retval != STATUS_SUCCESS) { + if (retval != STATUS_SUCCESS) TRACE_RET(chip, STATUS_FAIL); - } return STATUS_SUCCESS; }