Messages in this thread | | | Date | Tue, 29 Oct 2019 17:35:16 +0100 | From | Stefano Garzarella <> | Subject | Re: [PATCH net-next 12/14] vsock/vmci: register vmci_transport only when VMCI guest/host are active |
| |
On Sun, Oct 27, 2019 at 09:17:52AM +0100, Stefan Hajnoczi wrote: > On Wed, Oct 23, 2019 at 11:55:52AM +0200, Stefano Garzarella wrote: > > +static int __init vmci_transport_init(void) > > +{ > > + int features = VSOCK_TRANSPORT_F_DGRAM; > > Where is this variable used?
It is introduced in the previous patch "vsock: add multi-transports support", and it is used in the vsock_core_register(), but since now the vmci_transport_init() registers the vmci_transport only with DGRAM feature, I can remove this variable and I can use directly the VSOCK_TRANSPORT_F_DGRAM.
I'll fix in the v3.
Thanks, Stefano
| |