forked from Minki/linux
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
@ -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 New Issue
Block a user