]> git.ipfire.org Git - thirdparty/qemu.git/commit
net/passt: Remove unused "err" from passt_vhost_user_event() (CID 1612375)
authorLaurent Vivier <lvivier@redhat.com>
Thu, 17 Jul 2025 15:08:00 +0000 (17:08 +0200)
committerJason Wang <jasowang@redhat.com>
Mon, 21 Jul 2025 02:21:57 +0000 (10:21 +0800)
commit2ed74e3c005f236acbf7d85d396a653bfb004a17
treed7ef0190aaa3e096230d1281b976741764da8aab
parenta6d6e37901551cbd61b0a61c6bab5745fb1833ff
net/passt: Remove unused "err" from passt_vhost_user_event() (CID 1612375)

The "err" variable was declared but never used within the
passt_vhost_user_event() function. This resulted in a dead code
warning (CID 1612375) from Coverity.

Remove the unused variable and the associated error block
to resolve the issue.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/passt.c