mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
Staging: rts5208: Fix checkpatch warning: else is not generally useful
The following checkpatch warning was fixed: WARNING: else is not generally useful after a break or return Signed-off-by: Leung Timothy Chi King <contact@timothyleung.co> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9fccffbfd9
commit
364b91be26
1 changed files with 5 additions and 6 deletions
|
@ -3520,12 +3520,11 @@ int reset_sd_card(struct rtsx_chip *chip)
|
|||
if (chip->sd_io) {
|
||||
rtsx_trace(chip);
|
||||
return STATUS_FAIL;
|
||||
} else {
|
||||
retval = reset_mmc(chip);
|
||||
if (retval != STATUS_SUCCESS) {
|
||||
rtsx_trace(chip);
|
||||
return STATUS_FAIL;
|
||||
}
|
||||
}
|
||||
retval = reset_mmc(chip);
|
||||
if (retval != STATUS_SUCCESS) {
|
||||
rtsx_trace(chip);
|
||||
return STATUS_FAIL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue