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);