Commit cc3000e4 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Pierre Ossman

mmc: remove unused 'mode' from the mmc_host structure

This field and corresponding defines are simply never used anywhere
in the code.  But its mere presence is enough to confuse some host
driver authors who attempt to rely on it.  Let's eliminate the
possibility for confusion and remove it entirely.
Signed-off-by: default avatarNicolas Pitre <nico@cam.org>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 84c46a53
...@@ -118,10 +118,6 @@ struct mmc_host { ...@@ -118,10 +118,6 @@ struct mmc_host {
unsigned int removed:1; /* host is being removed */ unsigned int removed:1; /* host is being removed */
#endif #endif
unsigned int mode; /* current card mode of host */
#define MMC_MODE_MMC 0
#define MMC_MODE_SD 1
struct mmc_card *card; /* device attached to this host */ struct mmc_card *card; /* device attached to this host */
wait_queue_head_t wq; wait_queue_head_t wq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment