From: Vaibhav Murkute Date: Fri, 9 Mar 2018 02:56:03 +0000 (+0530) Subject: drivers: vhost: vsock: fixed a brace coding style issue X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ff3c1b1a817d72e092fded369596dbd84e719ab8;p=openwrt%2Fstaging%2Fblogic.git drivers: vhost: vsock: fixed a brace coding style issue Fixed a coding style issue. Signed-off-by: Vaibhav Murkute Reviewed-by: Stefan Hajnoczi Signed-off-by: David S. Miller --- diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c index 0d14e2ff19f1..0898dbdbf955 100644 --- a/drivers/vhost/vsock.c +++ b/drivers/vhost/vsock.c @@ -61,9 +61,9 @@ static struct vhost_vsock *__vhost_vsock_get(u32 guest_cid) if (other_cid == 0) continue; - if (other_cid == guest_cid) { + if (other_cid == guest_cid) return vsock; - } + } return NULL;