hw/scsi/megasas: Simplify using the ldst API
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sat, 18 Dec 2021 11:19:12 +0000 (12:19 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 18 Jan 2022 11:32:16 +0000 (12:32 +0100)
commit2a0c51366985890e3bf6f41a48f3cb2dfe2f153e
tree3344c7b4071a150aea4b306ea204e4fed596c17d
parent6446a79e10bf4482f67a8576aed1afd88cf964b1
hw/scsi/megasas: Simplify using the ldst API

This code is easier to review using the load/store API.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211218111912.1499377-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/scsi/megasas.c