]> git.baikalelectronics.ru Git - kernel.git/commit
vsock/virtio: remove unused 'work' field from 'struct virtio_vsock_pkt'
authorStefano Garzarella <sgarzare@redhat.com>
Tue, 15 Oct 2019 15:00:51 +0000 (17:00 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Oct 2019 08:25:04 +0000 (04:25 -0400)
commit1a693ef69e92c59429d1e5872f6f883a1cfc4cde
tree94f23dfe60ff56a28f534c8343ad39e754c5dd1b
parent2dc44ec27e83098308e55fef3474757e5cd861d4
vsock/virtio: remove unused 'work' field from 'struct virtio_vsock_pkt'

The 'work' field was introduced with commit b7fc5bc0aaaf2
("VSOCK: Introduce virtio_vsock_common.ko")
but it is never used in the code, so we can remove it to save
memory allocated in the per-packet 'struct virtio_vsock_pkt'

Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/virtio_vsock.h