Skip to content

Commit

Permalink
[MMC] Remove data->blksz_bits member
Browse files Browse the repository at this point in the history
data->blksz_bits is unused now - remove it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Sep 16, 2006
1 parent 3bc87f2 commit 132919b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/mmc/mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,6 @@ static void mmc_read_scrs(struct mmc_host *host)

mmc_set_data_timeout(&data, card, 0);

data.blksz_bits = 3;
data.blksz = 1 << 3;
data.blocks = 1;
data.flags = MMC_DATA_READ;
Expand Down
1 change: 0 additions & 1 deletion drivers/mmc/mmc_block.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)

brq.cmd.arg = req->sector << 9;
brq.cmd.flags = MMC_RSP_R1 | MMC_CMD_ADTC;
brq.data.blksz_bits = md->block_bits;
brq.data.blksz = 1 << md->block_bits;
brq.data.blocks = req->nr_sectors >> (md->block_bits - 9);
brq.stop.opcode = MMC_STOP_TRANSMISSION;
Expand Down
1 change: 0 additions & 1 deletion include/linux/mmc/mmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ struct mmc_command {
struct mmc_data {
unsigned int timeout_ns; /* data timeout (in ns, max 80ms) */
unsigned int timeout_clks; /* data timeout (in clocks) */
unsigned int blksz_bits; /* data block size */
unsigned int blksz; /* data block size */
unsigned int blocks; /* number of blocks */
unsigned int error; /* data error */
Expand Down

0 comments on commit 132919b

Please sign in to comment.