#include <rte_common.h>
#include <rte_malloc.h>
-#include <rte_cryptodev_pmd.h>
+#include <cryptodev_pmd.h>
#include <rte_security_driver.h>
#include "mrvl_pmd_private.h"
}
/* free the keys memory allocated for session creation */
- if (mrvl_sess->sam_sess_params.cipher_key != NULL)
- free(mrvl_sess->sam_sess_params.cipher_key);
- if (mrvl_sess->sam_sess_params.auth_key != NULL)
- free(mrvl_sess->sam_sess_params.auth_key);
+ free(mrvl_sess->sam_sess_params.cipher_key);
+ free(mrvl_sess->sam_sess_params.auth_key);
return 0;
}