OSDN Git Service

target/s390x/dump: Remove unneeded dump info function pointer init
authorJanosch Frank <frankja@linux.ibm.com>
Thu, 9 Nov 2023 12:04:41 +0000 (12:04 +0000)
committerThomas Huth <thuth@redhat.com>
Tue, 14 Nov 2023 09:42:32 +0000 (10:42 +0100)
commit816644b1219900875f47d7adf9bfb283f1b29aa0
treeddfbf79ec960672c75bf9239ece12d7187b862e8
parentf78ea7ddb0e18766ece9fdfe02061744a7afc41b
target/s390x/dump: Remove unneeded dump info function pointer init

dump_state_prepare() now sets the function pointers to NULL so we only
need to touch them if we're going to use them.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231109120443.185979-2-frankja@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/arch_dump.c