crypto: qat - removed unused macro in adf_cnv_dbgfs.c
authorAdam Guerin <adam.guerin@intel.com>
Fri, 16 Feb 2024 15:19:56 +0000 (15:19 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 24 Feb 2024 00:41:20 +0000 (08:41 +0800)
commit9a5dcada14d5e027856a1bc38443e54111438da6
tree4fc1675cbb78f44f93a77373c4be55fd5273ff81
parentdfff0e35fa5dd84ae75052ba129b0219d83e46dc
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: d807f0240c71 ("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>
drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c