mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
staging: rts5208: remove unnecessary else
This fixes the warning: WARNING: else is not generally useful after a break or return Signed-off-by: Roxana Blaj <roxanagabriela10@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b76e05869a
commit
b037e229e1
1 changed files with 2 additions and 2 deletions
|
@ -862,8 +862,8 @@ static int ms_read_attribute_info(struct rtsx_chip *chip)
|
|||
0, 0, buf, 64 * 512);
|
||||
if (retval == STATUS_SUCCESS)
|
||||
break;
|
||||
else
|
||||
rtsx_clear_ms_error(chip);
|
||||
|
||||
rtsx_clear_ms_error(chip);
|
||||
}
|
||||
if (retval != STATUS_SUCCESS) {
|
||||
kfree(buf);
|
||||
|
|
Loading…
Reference in a new issue