staging: rts5139: remove unused clear_first_install_mark
authorOleksij Rempel <bug-track@fisher-privat.net>
Fri, 4 May 2012 15:14:33 +0000 (17:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2012 20:26:13 +0000 (13:26 -0700)
it also removes rts51x_reset_detected_cards.

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5139/rts51x_chip.c
drivers/staging/rts5139/rts51x_sys.h

index 9831917cfe9ea8a4c8cd03ca67e771ce8bfb499d..ff23d5ade977af2cad1bc9e7eaa7c2390c20890d 100644 (file)
@@ -259,7 +259,6 @@ static void rts51x_auto_delink_polling_cycle(struct rts51x_chip *chip)
                        chip->option.delink_delay * 2) {
                if (chip->auto_delink_counter ==
                    chip->option.delink_delay) {
-                       clear_first_install_mark(chip);
                        if (chip->card_exist) {
                                /* False card */
                                if (!chip->card_ejected) {
index 5ba0d58ac2f6fbb2b6b30b233ae93aacceb79381..10c51f79c27383cc65c6c513d87c096fb4f4d532 100644 (file)
 
 /* typedef dma_addr_t ULONG_PTR; */
 
-static inline void rts51x_reset_detected_cards(struct rts51x_chip *chip)
-{
-/*      rts51x_reset_cards(chip); */
-}
-
-static inline void clear_first_install_mark(struct rts51x_chip *chip)
-{
-}
-
 void rts51x_enter_ss(struct rts51x_chip *chip);
 void rts51x_exit_ss(struct rts51x_chip *chip);