OSDN Git Service

staging: rts5139: rts51x_chip: fixed brace coding style issue
authorErik Jones <erik@ejnode.com>
Thu, 21 Jun 2012 03:17:03 +0000 (23:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jun 2012 04:04:05 +0000 (21:04 -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_chip.c

index db88d7a..08dcae8 100644 (file)
@@ -363,11 +363,10 @@ void rts51x_polling_func(struct rts51x_chip *chip)
                break;
        }
 
-       if (chip->option.auto_delink_en && !chip->card_ready) {
+       if (chip->option.auto_delink_en && !chip->card_ready)
                rts51x_auto_delink(chip);
-       } else {
+       else
                chip->auto_delink_counter = 0;
-       }
 }
 
 void rts51x_add_cmd(struct rts51x_chip *chip,