浏览代码

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>
Vaibhav Murkute 7 年之前
父节点
当前提交
ff3c1b1a81
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/vhost/vsock.c

+ 2 - 2
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;