mmc: clean up unused parts of block driver
Remove dead code and unused structs from the block driver. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
@@ -10,20 +10,12 @@ struct mmc_queue {
|
||||
struct semaphore thread_sem;
|
||||
unsigned int flags;
|
||||
struct request *req;
|
||||
int (*prep_fn)(struct mmc_queue *, struct request *);
|
||||
int (*issue_fn)(struct mmc_queue *, struct request *);
|
||||
void *data;
|
||||
struct request_queue *queue;
|
||||
struct scatterlist *sg;
|
||||
};
|
||||
|
||||
struct mmc_io_request {
|
||||
struct request *rq;
|
||||
int num;
|
||||
struct mmc_command selcmd; /* mmc_queue private */
|
||||
struct mmc_command cmd[4]; /* max 4 commands */
|
||||
};
|
||||
|
||||
extern int mmc_init_queue(struct mmc_queue *, struct mmc_card *, spinlock_t *);
|
||||
extern void mmc_cleanup_queue(struct mmc_queue *);
|
||||
extern void mmc_queue_suspend(struct mmc_queue *);
|
||||
|
Reference in New Issue
Block a user