git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a61ad2b
)
mmc: initialize struct mmc_request at declaration time
author
Chris Ball
<cjb@laptop.org>
Thu, 14 Apr 2011 03:49:45 +0000
(23:49 -0400)
committer
Chris Ball
<cjb@laptop.org>
Wed, 25 May 2011 01:02:01 +0000
(21:02 -0400)
Converts from:
struct mmc_request mrq;
memset(&mrq, 0, sizeof(struct mmc_request));
to:
struct mmc_request mrq = {0};
because it's shorter, as performant, and easier to work out whether
initialization has happened.
Signed-off-by: Chris Ball <cjb@laptop.org>
No differences found