diff options
author | Roxana Blaj <roxanagabriela10@gmail.com> | 2014-09-20 17:21:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 13:22:25 -0700 |
commit | b037e229e1c316bbdfdaa265fb47e437db0f3c07 (patch) | |
tree | 307341ff9d18d8a9da54fc2a20407894b25a836b /drivers | |
parent | b76e05869a6434b1af16880d1929230119f67b8b (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rts5208/ms.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |