[PATCH 10/15] rts5139: remove unused clear_first_install_mark

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



it also removes rts51x_reset_detected_cards.

Signed-off-by: Oleksij Rempel <bug-track@xxxxxxxxxxxxxxxxx>
---
 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 9831917..ff23d5a 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 5ba0d58..10c51f7 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);
 
-- 
1.7.9.5

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux