Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32f75e67 authored by Sascha Hauer's avatar Sascha Hauer Committed by Herbert Xu
Browse files

crypto: caam - remove unused defines



The CAAM driver defines its own debug() macro, but it is unused. Remove
it.

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: default avatarHoria Geantă <horia.geanta@nxp.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f6b99b6e
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -77,13 +77,6 @@
#define DESC_MAX_USED_BYTES		(CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN)
#define DESC_MAX_USED_LEN		(DESC_MAX_USED_BYTES / CAAM_CMD_SZ)

#ifdef DEBUG
/* for print_hex_dumps with line references */
#define debug(format, arg...) printk(format, arg)
#else
#define debug(format, arg...)
#endif

struct caam_alg_entry {
	int class1_alg_type;
	int class2_alg_type;
+0 −8
Original line number Diff line number Diff line
@@ -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 */