diff options
author | Roxana Blaj <roxanagabriela10@gmail.com> | 2014-10-02 18:20:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-02 10:07:04 -0700 |
commit | 4525284742fe11426da23d8d0eb4946ed84d84be (patch) | |
tree | b72c7fa0c78b3adc48e9cc2cd5f7f0cd6fcbfc4f /drivers/staging/rts5208 | |
parent | 4dae2a4fcafcbea0f5787e2dcab2ec808f21e29d (diff) | |
download | talos-op-linux-4525284742fe11426da23d8d0eb4946ed84d84be.tar.gz talos-op-linux-4525284742fe11426da23d8d0eb4946ed84d84be.zip |
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: Roxana Blaj <roxanagabriela10@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rts5208')
-rw-r--r-- | drivers/staging/rts5208/rtsx_card.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rts5208/rtsx_card.h b/drivers/staging/rts5208/rtsx_card.h index b19239e106f9..75cf5889bda4 100644 --- a/drivers/staging/rts5208/rtsx_card.h +++ b/drivers/staging/rts5208/rtsx_card.h @@ -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 |