raw/skeleton: remove dead code
authorShreyansh Jain <shreyansh.jain@nxp.com>
Wed, 9 May 2018 15:26:09 +0000 (20:56 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 13 May 2018 23:01:10 +0000 (01:01 +0200)
Coverity Issue: 260411
Fixes: 55ca1b0f2151 ("raw/skeleton: add test cases")
Cc: stable@dpdk.org
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c

index 7ad8f19..3eb5c3a 100644 (file)
@@ -380,8 +380,6 @@ test_rawdev_enqdeq(void)
 cleanup:
        if (buffers[0].buf_addr)
                free(buffers[0].buf_addr);
-       if (deq_buffers)
-               free(deq_buffers);
 
        return TEST_FAILED;
 }