OSDN Git Service

hw/i386/pc_piix: Turn some local variables into initializers
authorBernhard Beschow <shentey@gmail.com>
Fri, 30 Jun 2023 07:37:10 +0000 (09:37 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jul 2023 20:29:17 +0000 (16:29 -0400)
commitb90d7bff18c48500df86a35db56fecfb59d85088
tree4834e6bed67005fe3119a79c23a6eef3f3bee28d
parent3d664a9a386dd5968962b038d056caf182ef29a1
hw/i386/pc_piix: Turn some local variables into initializers

Eliminates an else branch.

Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230630073720.21297-8-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc_piix.c