diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-06-06 01:14:39 +0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-06-12 12:50:27 +0400 |
commit | d7fe833f3fc9a02806c96dd28f48e5e28c8484a8 (patch) | |
tree | bc09795e0077d2755541244979561319a0c7ea55 /virt/kvm/eventfd.c | |
parent | bf614c7a214592c4cd2a2ccffc0f43539437af6b (diff) | |
download | linux-d7fe833f3fc9a02806c96dd28f48e5e28c8484a8.tar.xz |
mmc: mvsdio: avoid compiler warning
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: Arnd 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: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'virt/kvm/eventfd.c')
0 files changed, 0 insertions, 0 deletions