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:
1278dba
)
mmc: initialize struct mmc_data at declaration time
author
Chris Ball
<cjb@laptop.org>
Thu, 14 Apr 2011 03:46:05 +0000
(23:46 -0400)
committer
Chris Ball
<cjb@laptop.org>
Wed, 25 May 2011 01:01:56 +0000
(21:01 -0400)
Converts from:
struct mmc_data data;
memset(&data, 0, sizeof(struct mmc_data));
to:
struct mmc_data data = {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