vsock/virtio: a better comment on credit update
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 3 Sep 2019 07:38:16 +0000 (03:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 07:53:01 +0000 (09:53 +0200)
commitf4d7c8e3da9173ac7b0498abc3aab0d320efe997
treefaa189cc53c654723d6f0f57ce7c8c598314036f
parent9c895c1bc576f1091a685f62595dc520659863df
vsock/virtio: a better comment on credit update

The comment we have is just repeating what the code does.
Include the *reason* for the condition instead.

Cc: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/vmw_vsock/virtio_transport_common.c