commit | 1278dba167f01bb3c6626d16450d31129d041087 | [log] [tgz] |
---|---|---|
author | Chris Ball <cjb@laptop.org> | Wed Apr 13 23:40:30 2011 -0400 |
committer | Chris Ball <cjb@laptop.org> | Tue May 24 21:01:52 2011 -0400 |
tree | 6fb3af716e5437cb558ae37fd8a58db23b9b173e | |
parent | 62929e4be3fe4cc632b3b03645e083c6548de531 [diff] |
mmc: initialize struct mmc_command at declaration time Converts from: struct mmc_command cmd; memset(&cmd, 0, sizeof(struct mmc_command)); to: struct mmc_command cmd = {0}; because it's shorter, as performant, and easier to work out whether initialization has happened. Signed-off-by: Chris Ball <cjb@laptop.org>