hw/cxl/cxl-mailbox-utils: remove unneeded mailbox output payload space zeroing
authorFan Ni <fan.ni@samsung.com>
Fri, 5 Jul 2024 11:39:55 +0000 (12:39 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 21 Jul 2024 18:31:59 +0000 (14:31 -0400)
commitb7dbfe4f47884e67a309c206b3eadec339a0d3b6
tree74bb913cd1c8c3a7b77b24c079de56382b7ac408
parent7967b7e0b17cb5e700ca040e0b68ba8fb0035c0d
hw/cxl/cxl-mailbox-utils: remove unneeded mailbox output payload space zeroing

The whole mailbox output payload space is already zeroed after copying
out the input payload, which happens before processing the specific mailbox
command:
https://elixir.bootlin.com/qemu/v8.2.1/source/hw/cxl/cxl-device-utils.c#L204

Signed-off-by: Fan Ni <fan.ni@samsung.com>
Link: https://lore.kernel.org/r/20240221221824.1092966-1-nifan.cxl@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20240705113956.941732-3-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/cxl/cxl-mailbox-utils.c