Commit 364b91be authored by Leung Timothy Chi King's avatar Leung Timothy Chi King Committed by Greg Kroah-Hartman

Staging: rts5208: Fix checkpatch warning: else is not generally useful

The following checkpatch warning was fixed:

WARNING: else is not generally useful after a break or return
Signed-off-by: default avatarLeung Timothy Chi King <contact@timothyleung.co>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9fccffbf
...@@ -3520,7 +3520,7 @@ int reset_sd_card(struct rtsx_chip *chip) ...@@ -3520,7 +3520,7 @@ int reset_sd_card(struct rtsx_chip *chip)
if (chip->sd_io) { if (chip->sd_io) {
rtsx_trace(chip); rtsx_trace(chip);
return STATUS_FAIL; return STATUS_FAIL;
} else { }
retval = reset_mmc(chip); retval = reset_mmc(chip);
if (retval != STATUS_SUCCESS) { if (retval != STATUS_SUCCESS) {
rtsx_trace(chip); rtsx_trace(chip);
...@@ -3528,7 +3528,6 @@ int reset_sd_card(struct rtsx_chip *chip) ...@@ -3528,7 +3528,6 @@ int reset_sd_card(struct rtsx_chip *chip)
} }
} }
} }
}
retval = sd_set_clock_divider(chip, SD_CLK_DIVIDE_0); retval = sd_set_clock_divider(chip, SD_CLK_DIVIDE_0);
if (retval != STATUS_SUCCESS) { if (retval != STATUS_SUCCESS) {
......
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