From ec5bd9b3cf288798c0ca2ee573d18594255d72ec Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Fri, 4 May 2012 17:14:33 +0200 Subject: [PATCH] staging: rts5139: remove unused clear_first_install_mark it also removes rts51x_reset_detected_cards. Signed-off-by: Oleksij Rempel Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rts5139/rts51x_chip.c | 1 - drivers/staging/rts5139/rts51x_sys.h | 9 --------- 2 files changed, 10 deletions(-) diff --git a/drivers/staging/rts5139/rts51x_chip.c b/drivers/staging/rts5139/rts51x_chip.c index 9831917cfe9e..ff23d5ade977 100644 --- a/drivers/staging/rts5139/rts51x_chip.c +++ b/drivers/staging/rts5139/rts51x_chip.c @@ -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) { diff --git a/drivers/staging/rts5139/rts51x_sys.h b/drivers/staging/rts5139/rts51x_sys.h index 5ba0d58ac2f6..10c51f79c273 100644 --- a/drivers/staging/rts5139/rts51x_sys.h +++ b/drivers/staging/rts5139/rts51x_sys.h @@ -35,15 +35,6 @@ /* 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); -- 2.20.1