git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: sd: clean up redundant memset
[safe/jmp/linux-2.6]
/
drivers
/
mmc
/
core
/
sd_ops.c
diff --git
a/drivers/mmc/core/sd_ops.c
b/drivers/mmc/core/sd_ops.c
index
0d96080
..
63772e7
100644
(file)
--- a/
drivers/mmc/core/sd_ops.c
+++ b/
drivers/mmc/core/sd_ops.c
@@
-79,8
+79,6
@@
int mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card,
* we cannot use the retries field in mmc_command.
*/
for (i = 0;i <= retries;i++) {
- memset(&mrq, 0, sizeof(struct mmc_request));
-
err = mmc_app_cmd(host, card);
if (err) {
/* no point in retrying; no APP commands allowed */