summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts5139
diff options
context:
space:
mode:
authorOleksij Rempel <bug-track@fisher-privat.net>2012-05-04 17:14:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-09 13:26:13 -0700
commitec5bd9b3cf288798c0ca2ee573d18594255d72ec (patch)
tree5f0be02604c5655554c0b86c86bd29112eec2939 /drivers/staging/rts5139
parentc377c5006f2c69ac3a41a865fbb41578547fe33d (diff)
downloadlinux-ec5bd9b3cf288798c0ca2ee573d18594255d72ec.tar.bz2
staging: rts5139: remove unused clear_first_install_mark
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>
Diffstat (limited to 'drivers/staging/rts5139')
-rw-r--r--drivers/staging/rts5139/rts51x_chip.c1
-rw-r--r--drivers/staging/rts5139/rts51x_sys.h9
2 files changed, 0 insertions, 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);