summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorAlok Tiwari <alok.a.tiwari@oracle.com>2025-10-01 12:16:50 -0700
committerMichael S. Tsirkin <mst@redhat.com>2025-11-27 02:03:05 -0500
commite40b6abe0b1247d43bc61942aa7534fca7209e44 (patch)
treed06cd9c9457674b420906ed5577505e8364cddf7 /rust/helpers/platform.c
parentac3fd01e4c1efce8f2c054cdeb2ddd2fc0fb150d (diff)
virtio_vdpa: fix misleading return in void function
virtio_vdpa_set_status() is declared as returning void, but it used "return vdpa_set_status()" Since vdpa_set_status() also returns void, the return statement is unnecessary and misleading. Remove it. Fixes: c043b4a8cf3b ("virtio: introduce a vDPA based transport") Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com> Message-Id: <20251001191653.1713923-1-alok.a.tiwari@oracle.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions