virtio: fix incorrect parens

Signed-off-by: Matthew Hall <mhall@mhcomputing.net>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
Matthew Hall 2014-07-20 20:47:39 -07:00 committed by Thomas Monjalon
parent 3ed4e9735a
commit a98f77c209

View File

@ -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;
}