]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drivers: vhost: vsock: fixed a brace coding style issue
authorVaibhav Murkute <vaibhavmurkute88@gmail.com>
Fri, 9 Mar 2018 02:56:03 +0000 (08:26 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 16:39:44 +0000 (11:39 -0500)
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>
drivers/vhost/vsock.c

index 0d14e2ff19f16b18a2babdc3107f6ae7d1f35a9f..0898dbdbf955faa4c274c35fab33c0ef4da5bf92 100644 (file)
@@ -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;