OSDN Git Service

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 0d14e2f..0898dbd 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;