mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
staging/rts_pstor: fix single statements block warning
The following warning is fixed up. drivers/staging/rts_pstor/sd.c:190: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0d3de9b014
commit
9e76b9dfa3
@ -187,9 +187,9 @@ RTY_SEND_CMD:
|
||||
SD_TRANSFER_END | SD_STAT_IDLE, SD_TRANSFER_END | SD_STAT_IDLE);
|
||||
|
||||
if (rsp_type == SD_RSP_TYPE_R2) {
|
||||
for (reg_addr = PPBUF_BASE2; reg_addr < PPBUF_BASE2 + 16; reg_addr++) {
|
||||
for (reg_addr = PPBUF_BASE2; reg_addr < PPBUF_BASE2 + 16; reg_addr++)
|
||||
rtsx_add_cmd(chip, READ_REG_CMD, reg_addr, 0, 0);
|
||||
}
|
||||
|
||||
stat_idx = 16;
|
||||
} else if (rsp_type != SD_RSP_TYPE_R0) {
|
||||
for (reg_addr = REG_SD_CMD0; reg_addr <= REG_SD_CMD4; reg_addr++) {
|
||||
|
Loading…
Reference in New Issue
Block a user