Commit b037e229 authored by Roxana Blaj's avatar Roxana Blaj Committed by Greg Kroah-Hartman

staging: rts5208: remove unnecessary else

This fixes the warning:
WARNING: else is not generally useful after a break or return
Signed-off-by: default avatarRoxana Blaj <roxanagabriela10@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b76e0586
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment