Arseniy Krasnov e3ec366eb0 virtio/vsock: check argument to avoid no effect call
Both of these functions have no effect when input argument is 0, so to
avoid useless spinlock access, check argument before it.

Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-03-28 12:03:50 +02:00
..
2023-02-21 18:24:12 -08:00
2023-03-27 09:32:21 +01:00
2023-03-16 17:34:40 -07:00
2023-02-13 09:30:14 +00:00
2023-02-21 18:24:12 -08:00
2023-03-24 09:05:03 +00:00
2023-03-10 08:45:30 -08:00
2023-02-21 18:24:12 -08:00
2023-03-13 15:59:20 -07:00