Commit f79597cc authored by Russell King's avatar Russell King

[MMC] Remove deprecated data->req

Since all users of this have now been eliminated, we can eliminate
the element itself.  MMC host drivers now operate only on the
scatter lists passed to them, rather than needing knowledge of
block devices.
Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
parent 8cc74760
...@@ -180,7 +180,6 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) ...@@ -180,7 +180,6 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
brq.cmd.arg = req->sector << 9; brq.cmd.arg = req->sector << 9;
brq.cmd.flags = MMC_RSP_R1; brq.cmd.flags = MMC_RSP_R1;
brq.data.req = req;
brq.data.timeout_ns = card->csd.tacc_ns * 10; brq.data.timeout_ns = card->csd.tacc_ns * 10;
brq.data.timeout_clks = card->csd.tacc_clks * 10; brq.data.timeout_clks = card->csd.tacc_clks * 10;
brq.data.blksz_bits = md->block_bits; brq.data.blksz_bits = md->block_bits;
......
...@@ -57,7 +57,6 @@ struct mmc_data { ...@@ -57,7 +57,6 @@ struct mmc_data {
unsigned int timeout_clks; /* data timeout (in clocks) */ unsigned int timeout_clks; /* data timeout (in clocks) */
unsigned int blksz_bits; /* data block size */ unsigned int blksz_bits; /* data block size */
unsigned int blocks; /* number of blocks */ unsigned int blocks; /* number of blocks */
struct request *req __attribute__((deprecated));/* request structure (use the sg list instead) */
unsigned int error; /* data error */ unsigned int error; /* data error */
unsigned int flags; unsigned int flags;
......
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