]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[MMC] Remove data->blksz_bits member
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 27 Aug 2006 12:56:52 +0000 (13:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 16 Sep 2006 10:54:04 +0000 (11:54 +0100)
data->blksz_bits is unused now - remove it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/mmc.c
drivers/mmc/mmc_block.c
include/linux/mmc/mmc.h

index 74eaaee66de0e59532ba5655fddac5aaeea5ba08..5b9caa7978d34311839840243e38921255f6da4b 100644 (file)
@@ -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;
index a0e0dad1b41944de1a59ab9b4c1c6e01c1ed42e7..f3a99dd8df8f4158740ed7c1a22d54e9ed448ac3 100644 (file)
@@ -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;
index 627e2c08ce41d3fe4851c346e061a046dd0dfc20..a3594dfd696399ae8609417cafdc1f0ca844272a 100644 (file)
@@ -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 */