From: Matthew Hall Date: Mon, 21 Jul 2014 03:47:39 +0000 (-0700) Subject: virtio: fix incorrect parens X-Git-Tag: spdx-start~10507 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a98f77c209ae1b4b761ffb485ad5c3b9f96a1b51;p=dpdk.git virtio: fix incorrect parens Signed-off-by: Matthew Hall Acked-by: Thomas Monjalon --- diff --git a/examples/vhost/virtio-net.c b/examples/vhost/virtio-net.c index 801607ace2..5e659c7549 100644 --- 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; }