git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed4e97
)
virtio: fix incorrect parens
author
Matthew Hall
<mhall@mhcomputing.net>
Mon, 21 Jul 2014 03:47:39 +0000
(20:47 -0700)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Tue, 22 Jul 2014 13:00:00 +0000
(15:00 +0200)
Signed-off-by: Matthew Hall <mhall@mhcomputing.net>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
examples/vhost/virtio-net.c
patch
|
blob
|
history
diff --git
a/examples/vhost/virtio-net.c
b/examples/vhost/virtio-net.c
index
801607a
..
5e659c7
100644
(file)
--- a/
examples/vhost/virtio-net.c
+++ b/
examples/vhost/virtio-net.c
@@
-280,8
+280,8
@@
get_config_ll_entry(struct vhost_device_ctx ctx)
/* Loop through linked list until the device_fh is found. */
while (ll_dev != NULL) {
- if (
(ll_dev->dev.device_fh == ctx.fh)
)
- return ll_dev;
+ if (
ll_dev->dev.device_fh == ctx.fh
)
+
return ll_dev;
ll_dev = ll_dev->next;
}