OSDN Git Service

hw/mips/malta: Reuse dev variable
authorBernhard Beschow <shentey@gmail.com>
Sat, 22 Oct 2022 15:04:50 +0000 (17:04 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 31 Oct 2022 10:32:07 +0000 (11:32 +0100)
commite5b6c3e2fe0564306c71ec322717101aa88835c7
tree0042ef2848b574261c69720089f2fcf496220e72
parent90ba5c511a7ed0c4e849bc556326c32df9876ee8
hw/mips/malta: Reuse dev variable

While at it, move the assignments closer to where they are used.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221022150508.26830-26-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/mips/malta.c