9pfs: Fix warnings from Sparse
commit0289a412e8e41bfddf9e61336ee94e348dcaedfe
authorStefan Weil <sw@weilnetz.de>
Sun, 8 Mar 2015 18:17:54 +0000 (8 19:17 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 19 Mar 2015 08:11:55 +0000 (19 11:11 +0300)
tree6a528c063ee0159aa80106e70804424039ee6c1d
parent9c80d953b2fd839d36795c7a55a4c525ec6e0cc8
9pfs: Fix warnings from Sparse

Sparse report:

9pfs/virtio-9p.c:1953:9: warning: returning void-valued expression
9pfs/virtio-9p-handle.c:143:5: warning: returning void-valued expression
9pfs/virtio-9p-handle.c:160:5: warning: returning void-valued expression
9pfs/virtio-9p-local.c:384:5: warning: returning void-valued expression
9pfs/virtio-9p-local.c:415:5: warning: returning void-valued expression
9pfs/virtio-9p-proxy.c:672:5: warning: returning void-valued expression
9pfs/virtio-9p-proxy.c:689:5: warning: returning void-valued expression

Cc: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/9pfs/virtio-9p-handle.c
hw/9pfs/virtio-9p-local.c
hw/9pfs/virtio-9p-proxy.c
hw/9pfs/virtio-9p.c