summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/caamhash.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-05-23 11:50:28 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-05-30 10:30:30 +0300
commit32f75e67f3457479d79bc5c26b0eb4e2bc150cf0 (patch)
tree255c5d3c309f56cdbf4c9c55e8af98823d67ee20 /drivers/crypto/caam/caamhash.c
parentf6b99b6e18657aa1222b0c51ad20ac674e764281 (diff)
downloadlinux-32f75e67f3457479d79bc5c26b0eb4e2bc150cf0.tar.xz
crypto: caam - remove unused defines
The CAAM driver defines its own debug() macro, but it is unused. Remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/caamhash.c')
-rw-r--r--drivers/crypto/caam/caamhash.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/crypto/caam/caamhash.c b/drivers/crypto/caam/caamhash.c
index a67c62e444ca..508de427a55f 100644
--- a/drivers/crypto/caam/caamhash.c
+++ b/drivers/crypto/caam/caamhash.c
@@ -82,14 +82,6 @@
#define HASH_MSG_LEN 8
#define MAX_CTX_LEN (HASH_MSG_LEN + SHA512_DIGEST_SIZE)
-#ifdef DEBUG
-/* for print_hex_dumps with line references */
-#define debug(format, arg...) printk(format, arg)
-#else
-#define debug(format, arg...)
-#endif
-
-
static struct list_head hash_list;
/* ahash per-session context */