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

Christian Lütke-Stetzkamp christian at lkamp.de
Tue Apr 24 18:01:29 UTC 2018


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 at lkamp.de>
Reviewed-by: NeilBrown <neil at brown.com>
---
 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



More information about the devel mailing list