提交 b037e229 编写于 作者: R Roxana Blaj 提交者: 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: NRoxana Blaj <roxanagabriela10@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册