Searched hist:"24 f5b53b" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/mmc/core/ |
H A D | sd_ops.c | 24f5b53b Wed Apr 13 22:49:45 CDT 2011 Chris Ball <cjb@laptop.org> mmc: initialize struct mmc_request at declaration time
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> 24f5b53b Wed Apr 13 22:49:45 CDT 2011 Chris Ball <cjb@laptop.org> mmc: initialize struct mmc_request at declaration time 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>
|
H A D | sdio_ops.c | 24f5b53b Wed Apr 13 22:49:45 CDT 2011 Chris Ball <cjb@laptop.org> mmc: initialize struct mmc_request at declaration time
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> 24f5b53b Wed Apr 13 22:49:45 CDT 2011 Chris Ball <cjb@laptop.org> mmc: initialize struct mmc_request at declaration time 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>
|
H A D | mmc_ops.c | 24f5b53b Wed Apr 13 22:49:45 CDT 2011 Chris Ball <cjb@laptop.org> mmc: initialize struct mmc_request at declaration time
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> 24f5b53b Wed Apr 13 22:49:45 CDT 2011 Chris Ball <cjb@laptop.org> mmc: initialize struct mmc_request at declaration time 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>
|
H A D | core.c | 24f5b53b Wed Apr 13 22:49:45 CDT 2011 Chris Ball <cjb@laptop.org> mmc: initialize struct mmc_request at declaration time
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> 24f5b53b Wed Apr 13 22:49:45 CDT 2011 Chris Ball <cjb@laptop.org> mmc: initialize struct mmc_request at declaration time 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>
|