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

Christian Lütke-Stetzkamp christian at lkamp.de
Wed Apr 18 15:27:47 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>
---
 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 981ab054ba6c..212d98746379 100644
--- a/drivers/staging/mt7621-mmc/mt6575_sd.h
+++ b/drivers/staging/mt7621-mmc/mt6575_sd.h
@@ -934,11 +934,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