Skip to content
Commit 24f5b53b authored by Chris Ball's avatar Chris Ball
Browse files

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: default avatarChris Ball <cjb@laptop.org>
parent a61ad2b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment