[PATCH 8/8] staging: mt7621-mmc: Remove unused card_workqueue from msdc_host

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

 



The card_workqueue field of msdc_host is already if 0'd out and there
are no references to it in the code (not even in unused code), so
remove it.

Signed-off-by: Christian Lütke-Stetzkamp <christian@xxxxxxxx>
Reviewed-by: NeilBrown <neil@xxxxxxxxx>
---
 drivers/staging/mt7621-mmc/mt6575_sd.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/mt7621-mmc/mt6575_sd.h b/drivers/staging/mt7621-mmc/mt6575_sd.h
index ae9b36a0bd45..b77f8412ae2c 100644
--- a/drivers/staging/mt7621-mmc/mt6575_sd.h
+++ b/drivers/staging/mt7621-mmc/mt6575_sd.h
@@ -931,11 +931,7 @@ struct msdc_host {
 
 	int                         irq;            /* host interrupt */
 
-#if 0
-	struct work_struct		card_workqueue;
-#else
 	struct delayed_work		card_delaywork;
-#endif
 
 	struct completion           cmd_done;
 	struct completion           xfer_done;
-- 
2.16.1

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-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