]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ssi/pnv_spi: Use local var seq_index instead of get_seq_index().
authorChalapathi V <chalapathi.v@linux.ibm.com>
Mon, 3 Mar 2025 14:13:26 +0000 (08:13 -0600)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 11 Mar 2025 12:43:31 +0000 (22:43 +1000)
commitf1f756f305981c24a37a0be3113c2326a28594a5
treec99d56fbe9776f0ec11336fa713dfc8c8e6890f1
parent17befecda85d585c5b0186af3c4e74fb8b82cbce
hw/ssi/pnv_spi: Use local var seq_index instead of get_seq_index().

Use a local variable seq_index instead of repeatedly calling
get_seq_index() method and open-code next_sequencer_fsm().

Signed-off-by: Chalapathi V <chalapathi.v@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Message-ID: <20250303141328.23991-3-chalapathi.v@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ssi/pnv_spi.c