diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2014-03-03 11:36:45 +0900 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-12 18:04:34 -0400 |
commit | f16afa883e345670bfbcf635a1d5ec8165d9211b (patch) | |
tree | 0856bd728a3032fb5dbcb78db6c20c5adffc8b88 /drivers/mmc/host/dw_mmc.c | |
parent | 4a1b27ad3463736aebe9ccd4ae7ee10b24060977 (diff) |
mmc: dw_mmc: remove unnecessary function.
Remove unnecessary function. This function didn't re-use anywhere.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.c')
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 7020e14717a..9ef7c4ebed2 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -235,12 +235,6 @@ err: } #endif /* defined(CONFIG_DEBUG_FS) */ -static void dw_mci_set_timeout(struct dw_mci *host) -{ - /* timeout (maximum) */ - mci_writel(host, TMOUT, 0xffffffff); -} - static u32 dw_mci_prepare_command(struct mmc_host *mmc, struct mmc_command *cmd) { struct mmc_data *data; @@ -861,7 +855,7 @@ static void __dw_mci_start_request(struct dw_mci *host, data = cmd->data; if (data) { - dw_mci_set_timeout(host); + mci_writel(host, TMOUT, 0xFFFFFFFF); mci_writel(host, BYTCNT, data->blksz*data->blocks); mci_writel(host, BLKSIZ, data->blksz); } |