X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=lib%2Flibrte_eal%2Flinuxapp%2Feal%2Feal_ivshmem.c;h=28ddf0956fc4ae3731feced2775dcb9e06546b4a;hp=589019b15ee6bd2fb699a480a29594f008483bbe;hb=693f715da45c48ec1ec0fe4ba2f3b5ffd11ba53e;hpb=6e7caa1ad9d597fed0a49468af25ae6e68b8c443 diff --git a/lib/librte_eal/linuxapp/eal/eal_ivshmem.c b/lib/librte_eal/linuxapp/eal/eal_ivshmem.c index 589019b15e..28ddf0956f 100644 --- a/lib/librte_eal/linuxapp/eal/eal_ivshmem.c +++ b/lib/librte_eal/linuxapp/eal/eal_ivshmem.c @@ -109,8 +109,8 @@ TAILQ_HEAD(rte_ring_list, rte_tailq_entry); static int is_ivshmem_device(struct rte_pci_device * dev) { - return (dev->id.vendor_id == PCI_VENDOR_ID_IVSHMEM - && dev->id.device_id == PCI_DEVICE_ID_IVSHMEM); + return dev->id.vendor_id == PCI_VENDOR_ID_IVSHMEM + && dev->id.device_id == PCI_DEVICE_ID_IVSHMEM; } static void *