Skip to content
Snippets Groups Projects
user avatar
Arnd Bergmann authored
gcc correctly points out that hw_state can be used uninitially
in the mvsd_setup_data() function. This rearranges the function
to ensure it always contains a proper value.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: Chris Ball <chris@printf.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: linux-mmc@vger.kernel.org
Acked-by: default avatarNicolas Pitre <nico@linaro.org>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
d7fe833f
History
Name Last commit Last update