OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43e5fee
)
mmc: mtk-sd: Remove unused parameters(mrq)
author
ChanWoo Lee
<cw9316.lee@samsung.com>
Fri, 27 Aug 2021 09:31:19 +0000
(18:31 +0900)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 12 Oct 2021 08:21:16 +0000
(10:21 +0200)
The mmc_request structure(*mrq) is not used. //msdc_cmd_find_resp
I remove the unnecessary code related to the mmc_request structure.
Signed-off-by: ChanWoo Lee <cw9316.lee@samsung.com>
Link:
https://lore.kernel.org/r/20210827093119.32481-1-cw9316.lee@samsung.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/mtk-sd.c
b/drivers/mmc/host/mtk-sd.c
index
b99330b
..
8d9bed9
100644
(file)
--- a/
drivers/mmc/host/mtk-sd.c
+++ b/
drivers/mmc/host/mtk-sd.c
@@
-962,7
+962,7
@@
static void msdc_set_mclk(struct msdc_host *host, unsigned char timing, u32 hz)
}
static inline u32 msdc_cmd_find_resp(struct msdc_host *host,
- struct mmc_
request *mrq, struct mmc_
command *cmd)
+ struct mmc_command *cmd)
{
u32 resp;
@@
-998,7
+998,7
@@
static inline u32 msdc_cmd_prepare_raw_cmd(struct msdc_host *host,
* stop << 14 | rw << 13 | dtype << 11 | rsptyp << 7 | brk << 6 | opcode
*/
u32 opcode = cmd->opcode;
- u32 resp = msdc_cmd_find_resp(host,
mrq,
cmd);
+ u32 resp = msdc_cmd_find_resp(host, cmd);
u32 rawcmd = (opcode & 0x3f) | ((resp & 0x7) << 7);
host->cmd_rsp = resp;