Skip to content

Commit

Permalink
lib: remove unused error value
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Cornu <[email protected]>
  • Loading branch information
mdcornu authored and pablodelara committed Sep 18, 2024
1 parent f6885ce commit b660ad6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion lib/include/error.inc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ SET_ERRNO_TYPES \
IMB_ERR_SRC_OFFSET, \
IMB_ERR_NULL_AUTH_KEY, \
IMB_ERR_NULL_CTX, \
IMB_ERR_NO_AESNI, \
IMB_ERR_JOB_NULL_HMAC_OPAD, \
IMB_ERR_JOB_NULL_HMAC_IPAD, \
IMB_ERR_JOB_NULL_XCBC_K1_EXP, \
Expand Down
1 change: 0 additions & 1 deletion lib/intel-ipsec-mb.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ typedef enum {
IMB_ERR_SRC_OFFSET,
IMB_ERR_NULL_AUTH_KEY,
IMB_ERR_NULL_CTX,
IMB_ERR_NO_AESNI, /* Note: previously IMB_ERR_NO_AESNI_EMU */
IMB_ERR_JOB_NULL_HMAC_OPAD,
IMB_ERR_JOB_NULL_HMAC_IPAD,
IMB_ERR_JOB_NULL_XCBC_K1_EXP,
Expand Down
3 changes: 0 additions & 3 deletions lib/x86_64/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ IMB_DLL_LOCAL const int imb_errno_types[] = { IMB_ERR_NULL_MBMGR,
IMB_ERR_SRC_OFFSET,
IMB_ERR_NULL_AUTH_KEY,
IMB_ERR_NULL_CTX,
IMB_ERR_NO_AESNI,
IMB_ERR_JOB_NULL_HMAC_OPAD,
IMB_ERR_JOB_NULL_HMAC_IPAD,
IMB_ERR_JOB_NULL_XCBC_K1_EXP,
Expand Down Expand Up @@ -206,8 +205,6 @@ imb_get_strerror(int errnum)
return "Null pointer to authentication key (direct API)";
case IMB_ERR_NULL_CTX:
return "Null pointer to context (direct API)";
case IMB_ERR_NO_AESNI:
return "No AESNI support";
case IMB_ERR_JOB_CIPH_DIR:
return "Invalid cipher direction";
case IMB_ERR_MISSING_CPUFLAGS_INIT_MGR:
Expand Down

0 comments on commit b660ad6

Please sign in to comment.