Sfoglia il codice sorgente

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 anni fa
parent
commit
ff3c1b1a81
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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)
 		if (other_cid == 0)
 			continue;
 			continue;
 
 
-		if (other_cid == guest_cid) {
+		if (other_cid == guest_cid)
 			return vsock;
 			return vsock;
-		}
+
 	}
 	}
 
 
 	return NULL;
 	return NULL;