mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
staging/rts_pstor: remove braces {} in sd.c (wait_data_buf_ready)
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane <yamanetoshi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0c0276a6f2
commit
629ec906db
@ -3106,9 +3106,8 @@ static int wait_data_buf_ready(struct rtsx_chip *chip)
|
||||
|
||||
retval = sd_send_cmd_get_rsp(chip, SEND_STATUS,
|
||||
sd_card->sd_addr, SD_RSP_TYPE_R1, NULL, 0);
|
||||
if (retval != STATUS_SUCCESS) {
|
||||
if (retval != STATUS_SUCCESS)
|
||||
TRACE_RET(chip, STATUS_FAIL);
|
||||
}
|
||||
|
||||
if (sd_card->sd_data_buf_ready) {
|
||||
return sd_send_cmd_get_rsp(chip, SEND_STATUS,
|
||||
|
Loading…
Reference in New Issue
Block a user