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

staging: rts5208: remove unnecessary else

This fixes the checkpatch.pl 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 4dae2a4f
......@@ -1037,8 +1037,8 @@ static inline u32 get_card_size(struct rtsx_chip *chip, unsigned int lun)
if ((get_lun_card(chip, lun) == SD_CARD) &&
(sd_card->sd_lock_status & SD_LOCKED))
return 0;
else
return chip->capacity[lun];
return chip->capacity[lun];
#else
return chip->capacity[lun];
#endif
......
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