X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_ring.c;h=0d7523ed49df0d3a1a048a9a005448c39fbe1e3b;hb=4e72892c3367b9fcff70868c29d1e9236ee57d04;hp=943c350cf078791f11fe98600ca9211262caedae;hpb=c7985de0a7f0769d6e4e112b18314aceecf2642c;p=dpdk.git diff --git a/app/test/test_ring.c b/app/test/test_ring.c index 943c350cf0..0d7523ed49 100644 --- a/app/test/test_ring.c +++ b/app/test/test_ring.c @@ -112,7 +112,7 @@ static struct rte_ring *r; printf("error at %s:%d\tcondition " #exp " failed\n", \ __func__, __LINE__); \ rte_ring_dump(stdout, r); \ - return (-1); \ + return -1; \ } #define TEST_RING_FULL_EMTPY_ITER 8 @@ -274,7 +274,7 @@ test_ring_basic_full_empty(void * const src[], void *dst[]) TEST_RING_VERIFY(0 == memcmp(src, dst, rsz)); rte_ring_dump(stdout, r); } - return (0); + return 0; } static int