From: Shreyansh Jain Date: Wed, 9 May 2018 15:26:09 +0000 (+0530) Subject: raw/skeleton: remove dead code X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=564ad58d2d6c9d4f21f62404597380c974e5d6e0;p=dpdk.git raw/skeleton: remove dead code Coverity Issue: 260411 Fixes: 55ca1b0f2151 ("raw/skeleton: add test cases") Cc: stable@dpdk.org Signed-off-by: Shreyansh Jain --- diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c b/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c index 7ad8f19ce2..3eb5c3a7b9 100644 --- a/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c +++ b/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c @@ -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; }