linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers: vhost: vsock: fixed a brace coding style issue
@ 2018-03-09  2:56 Vaibhav Murkute
  2018-03-09  9:52 ` Stefan Hajnoczi
  2018-03-09 16:39 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Vaibhav Murkute @ 2018-03-09  2:56 UTC (permalink / raw)
  To: stefanha, mst, jasowang
  Cc: kvm, virtualization, netdev, linux-kernel, Vaibhav Murkute

Fixed a coding style issue.

Signed-off-by: Vaibhav Murkute <vaibhavmurkute88@gmail.com>
---
 drivers/vhost/vsock.c | 4 ++--
 1 file 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;
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-09 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-09  2:56 [PATCH] drivers: vhost: vsock: fixed a brace coding style issue Vaibhav Murkute
2018-03-09  9:52 ` Stefan Hajnoczi
2018-03-09 16:39 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).