hw/i386/pc: avoid an assignment in if condition in x86_load_linux()
commit350f5233d755cb00e62ccadc7635435ac3238aa6
authorSergio Lopez <slp@redhat.com>
Thu, 10 Oct 2019 13:57:17 +0000 (10 15:57 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 07:38:42 +0000 (22 09:38 +0200)
tree201068f23a567cf7b6faf5401b86c2350a58f6a8
parent133ef074bd88957c0ed5b38d4489111889acf915
hw/i386/pc: avoid an assignment in if condition in x86_load_linux()

Follow checkpatch.pl recommendation and avoid an assignment in if
condition in x86_load_linux().

Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/i386/pc.c