crypto: qat - removed unused macro in adf_cnv_dbgfs.c
BugLink: https://bugs.launchpad.net/bugs/2060097
[ Upstream commit 9a5dcada14d5e027856a1bc38443e54111438da6 ]
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: d807f0240c ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a4e9212c9f2cc31c698a2eaa1d622b4bd38d9ce2)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
This commit is contained in:
committed by
Roxana Nicolescu
parent
ed44c101df
commit
bc353adcf8
@@ -16,7 +16,6 @@
|
||||
|
||||
#define CNV_ERR_INFO_MASK GENMASK(11, 0)
|
||||
#define CNV_ERR_TYPE_MASK GENMASK(15, 12)
|
||||
#define CNV_SLICE_ERR_MASK GENMASK(7, 0)
|
||||
#define CNV_SLICE_ERR_SIGN_BIT_INDEX 7
|
||||
#define CNV_DELTA_ERR_SIGN_BIT_INDEX 11
|
||||
|
||||
|
||||
Reference in New Issue
Block a user