aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sd_ops.c
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-07-24 13:16:54 -0400
committerPierre Ossman <drzeus@drzeus.cx>2007-09-23 03:15:00 -0400
commitb146d26a61e0feab2f12a98ae83fd352830899c0 (patch)
treeb05f5197e6f5315197f34e3f406b93ad06b6b80b /drivers/mmc/core/sd_ops.c
parentd7604d76351f7745d0e62d9f2bbcbb917c9013f3 (diff)
mmc: mmc_set_data_timeout() parameter write is redundant
The write parameter in mmc_set_data_timeout() is redundant as the data structure contains information about the direction of the transfer. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/core/sd_ops.c')
-rw-r--r--drivers/mmc/core/sd_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/sd_ops.c b/drivers/mmc/core/sd_ops.c
index b4d43bd0fedd..491e0306b1b4 100644
--- a/drivers/mmc/core/sd_ops.c
+++ b/drivers/mmc/core/sd_ops.c
@@ -252,7 +252,7 @@ int mmc_app_send_scr(struct mmc_card *card, u32 *scr)
252 252
253 sg_init_one(&sg, scr, 8); 253 sg_init_one(&sg, scr, 8);
254 254
255 mmc_set_data_timeout(&data, card, 0); 255 mmc_set_data_timeout(&data, card);
256 256
257 mmc_wait_for_req(card->host, &mrq); 257 mmc_wait_for_req(card->host, &mrq);
258 258
@@ -302,7 +302,7 @@ int mmc_sd_switch(struct mmc_card *card, int mode, int group,
302 302
303 sg_init_one(&sg, resp, 64); 303 sg_init_one(&sg, resp, 64);
304 304
305 mmc_set_data_timeout(&data, card, 0); 305 mmc_set_data_timeout(&data, card);
306 306
307 mmc_wait_for_req(card->host, &mrq); 307 mmc_wait_for_req(card->host, &mrq);
308 308