Skip to content

Commit 9a5dcad

Browse files
aguerinIntelherbertx
authored andcommitted
crypto: qat - removed unused macro in adf_cnv_dbgfs.c
This macro was added but never used, remove it. This is to fix the following warning when compiling the QAT driver using the clang compiler with CC=clang W=2: drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c:19:9: warning: macro is not used [-Wunused-macros] 19 | #define CNV_SLICE_ERR_MASK GENMASK(7, 0) | ^ Fixes: d807f02 ("crypto: qat - add cnv_errors debugfs file") Signed-off-by: Adam Guerin <adam.guerin@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent dfff0e3 commit 9a5dcad

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
#define CNV_ERR_INFO_MASK GENMASK(11, 0)
1818
#define CNV_ERR_TYPE_MASK GENMASK(15, 12)
19-
#define CNV_SLICE_ERR_MASK GENMASK(7, 0)
2019
#define CNV_SLICE_ERR_SIGN_BIT_INDEX 7
2120
#define CNV_DELTA_ERR_SIGN_BIT_INDEX 11
2221

0 commit comments

Comments
 (0)