diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-07-24 15:11:47 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-09-23 03:15:12 -0400 |
commit | be0192aae1aed3fbf172e3f9a22ec75392c1b175 (patch) | |
tree | b70080bf73fad74fe196a568e57b18c6e7ade8ef /drivers/mmc/card | |
parent | 255d01af9a990fd5166f04ed0cc0b30b7b67e81e (diff) |
mmc: remove confusing flag
The MMC_DATA_MULTI flag never had a proper definition of what it
means, so remove it and let the drivers check the block count in
the request.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/card')
-rw-r--r-- | drivers/mmc/card/block.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 9abf29f8435b..ab510689ecde 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c | |||
@@ -241,7 +241,6 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) | |||
241 | brq.data.blocks = 1; | 241 | brq.data.blocks = 1; |
242 | 242 | ||
243 | if (brq.data.blocks > 1) { | 243 | if (brq.data.blocks > 1) { |
244 | brq.data.flags |= MMC_DATA_MULTI; | ||
245 | brq.mrq.stop = &brq.stop; | 244 | brq.mrq.stop = &brq.stop; |
246 | readcmd = MMC_READ_MULTIPLE_BLOCK; | 245 | readcmd = MMC_READ_MULTIPLE_BLOCK; |
247 | writecmd = MMC_WRITE_MULTIPLE_BLOCK; | 246 | writecmd = MMC_WRITE_MULTIPLE_BLOCK; |