From b037e229e1c316bbdfdaa265fb47e437db0f3c07 Mon Sep 17 00:00:00 2001 From: Roxana Blaj Date: Sat, 20 Sep 2014 17:21:04 +0300 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rts5208/ms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers') diff --git a/drivers/staging/rts5208/ms.c b/drivers/staging/rts5208/ms.c index db8e22166db8..75d2174f1708 100644 --- a/drivers/staging/rts5208/ms.c +++ b/drivers/staging/rts5208/ms.c @@ -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); -- cgit v1.2.3