examples/fips_validation: remove unused allocation
authorCiara Power <ciara.power@intel.com>
Thu, 12 Aug 2021 14:24:34 +0000 (14:24 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 8 Oct 2021 19:31:07 +0000 (21:31 +0200)
commit25d392e1999b3d766f3a9f142372cc1220fa2c97
tree3c86b0c3e822138eb7612052e379df892cd02a54
parentfa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3
examples/fips_validation: remove unused allocation

The val.val pointer is allocated memory, however this memory is then
freed in get_writeback_data() without being used beforehand.
The pointer is then allocated memory again before use,
so the very first allocation is removed as it was unnecessary.

Fixes: f4797bae0050 ("examples/fips_validation: support plain SHA")
Cc: stable@dpdk.org
Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
examples/fips_validation/main.c