]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: rts5139: rts51x_card: fixed brace coding style issue
authorErik Jones <erik@ejnode.com>
Tue, 17 Jul 2012 03:51:14 +0000 (23:51 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 17:30:59 +0000 (10:30 -0700)
Fixed a coding style issue.

Signed-off-by: Erik Jones <erik@ejnode.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5139/rts51x_card.c

index 4192c3bac12f0ab6d95c018969d72599ef4e6944..a3cb55912875c329c057296dedc58aebe4d0b279 100644 (file)
@@ -211,13 +211,12 @@ static void card_cd_debounce(struct rts51x_chip *chip, u8 *need_reset,
                                release_map |= MS_CARD;
                }
        } else {
-               if (chip->card_status & XD_CD) {
+               if (chip->card_status & XD_CD)
                        reset_map |= XD_CARD;
-               } else if (chip->card_status & SD_CD) {
+               else if (chip->card_status & SD_CD)
                        reset_map |= SD_CARD;
-               } else if (chip->card_status & MS_CD) {
+               else if (chip->card_status & MS_CD)
                        reset_map |= MS_CARD;
-               }
        }
 
        if (CHECK_PKG(chip, QFN24) && reset_map) {