summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/queue.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-14 17:02:16 +0100
committerJens Axboe <axboe@kernel.dk>2018-11-15 12:13:32 -0700
commitb061b326287d45aeaf313f7dddd02e88e31db14b (patch)
treeceb4b386ef629304777ca68a61fe85cd37b9f8ed /drivers/mmc/core/queue.h
parent68fc68f2ff620852ee43ee7a2831bc5eeb9472d6 (diff)
downloadlinux-b061b326287d45aeaf313f7dddd02e88e31db14b.tar.gz
linux-b061b326287d45aeaf313f7dddd02e88e31db14b.tar.bz2
linux-b061b326287d45aeaf313f7dddd02e88e31db14b.zip
mmc: simplify queue initialization
Merge three functions initializing the queue into a single one, and drop an unused argument for it. Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/mmc/core/queue.h')
-rw-r--r--drivers/mmc/core/queue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/core/queue.h b/drivers/mmc/core/queue.h
index 9bf3c9245075..29218e12900d 100644
--- a/drivers/mmc/core/queue.h
+++ b/drivers/mmc/core/queue.h
@@ -95,8 +95,7 @@ struct mmc_queue {
struct work_struct complete_work;
};
-extern int mmc_init_queue(struct mmc_queue *, struct mmc_card *, spinlock_t *,
- const char *);
+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 *);
extern void mmc_queue_resume(struct mmc_queue *);