summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorVaibhav Murkute <vaibhavmurkute88@gmail.com>2018-03-09 08:26:03 +0530
committerDavid S. Miller <davem@davemloft.net>2018-03-09 11:39:44 -0500
commitff3c1b1a817d72e092fded369596dbd84e719ab8 (patch)
treec0d183ab3db8b2e44624fd1317dd65daa517ac62 /drivers/vhost
parentfeaf751d8d120c3a70a19b5709f4d9efe529ed4c (diff)
downloadlinux-ff3c1b1a817d72e092fded369596dbd84e719ab8.tar.bz2
drivers: vhost: vsock: fixed a brace coding style issue
Fixed a coding style issue. Signed-off-by: Vaibhav Murkute <vaibhavmurkute88@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost')
-rw-r--r--drivers/vhost/vsock.c4
1 files changed, 2 insertions, 2 deletions
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;