hw/i386/pc: Merge two if statements into one
commit9c91051119f8c493a5802c4f5347516679e55552
authorBernhard Beschow <shentey@gmail.com>
Sat, 7 Oct 2023 12:38:09 +0000 (7 14:38 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 22 Oct 2023 09:18:16 +0000 (22 05:18 -0400)
treecaee878f854524d7528b4e9fd480caae3de39d42
parent9b50fd02900c11e6e50c7913e5772031749b3e8d
hw/i386/pc: Merge two if statements into one

By being the only entity assigning a non-NULL value to "rtc_irq", the first if
statement determines whether the second if statement is executed. So merge the
two statements into one.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20231007123843.127151-2-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c