mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 17:43:59 +00:00
Staging: rts5208: xd: Fixed checkpatch warning
Fixed a warning, else is not generally useful after a break or return. Signed-off-by: Nizam Haider <nizamhaider786@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
441b3e45c2
commit
98f196afef
@ -1379,9 +1379,8 @@ static int xd_erase_block(struct rtsx_chip *chip, u32 phy_blk)
|
||||
xd_set_err_code(chip, XD_PRG_ERROR);
|
||||
rtsx_trace(chip);
|
||||
return STATUS_FAIL;
|
||||
} else {
|
||||
xd_set_err_code(chip, XD_ERASE_FAIL);
|
||||
}
|
||||
xd_set_err_code(chip, XD_ERASE_FAIL);
|
||||
retval = xd_reset_cmd(chip);
|
||||
if (retval != STATUS_SUCCESS) {
|
||||
rtsx_trace(chip);
|
||||
|
Loading…
x
Reference in New Issue
Block a user