Skip to content

Commit

Permalink
mmc: remove unused 'mode' from the mmc_host structure
Browse files Browse the repository at this point in the history
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: Nicolas Pitre <nico@cam.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
  • Loading branch information
Nicolas Pitre authored and Pierre Ossman committed Dec 12, 2007
1 parent 84c46a5 commit cc3000e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/linux/mmc/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ struct mmc_host {
unsigned int removed:1; /* host is being removed */
#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 */

wait_queue_head_t wq;
Expand Down

0 comments on commit cc3000e

Please sign in to comment.