]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/rts5139/rts51x_chip.c
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / drivers / staging / rts5139 / rts51x_chip.c
index db88d7a194b8b4fde22f3e865ca7ed2e2ee48e70..08dcae8db63e6edf46a230eef7124810368f8e1c 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,