VSOCK: fix returnvar.cocci warnings
authorJulia Lawall <julia.lawall@lip6.fr>
Sun, 6 Dec 2015 05:56:23 +0000 (06:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Dec 2015 03:37:58 +0000 (22:37 -0500)
commit0d76d6e8b2507983a2cae4c09880798079007421
treefe5df7d702d50ec59def2d3066700fb2bed72449
parent6c730080e663b1d629f8aa89348291fbcdc46cd9
VSOCK: fix returnvar.cocci warnings

Remove unneeded variable used to store return value.

Generated by: scripts/coccinelle/misc/returnvar.cocci

CC: Asias He <asias@redhat.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/vsock.c