mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
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 <yamanetoshi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e06ed0db97
commit
c18a261a91
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user