summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ccree
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-05-07 16:35:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-15 07:41:59 +0200
commitee67acfeedaab7ef01c463377808e8438e618e2a (patch)
tree138254558d8989d4bfafb3a93c0c7ab6266b95da /drivers/staging/ccree
parenta1ab41ebd04601586bf30c9a03e6598d5dd3b826 (diff)
downloadlinux-ee67acfeedaab7ef01c463377808e8438e618e2a.tar.bz2
staging: ccree: remove min/max macros
Remove useless and wrong min/max macros. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree')
-rw-r--r--drivers/staging/ccree/cc_crypto_ctx.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h
index 31ccf518fda4..216d24791d5d 100644
--- a/drivers/staging/ccree/cc_crypto_ctx.h
+++ b/drivers/staging/ccree/cc_crypto_ctx.h
@@ -20,12 +20,6 @@
#include <linux/types.h>
-
-#ifndef max
-#define max(a, b) ((a) > (b) ? (a) : (b))
-#define min(a, b) ((a) < (b) ? (a) : (b))
-#endif
-
/* context size */
#ifndef CC_CTX_SIZE_LOG2
#if (CC_SUPPORT_SHA > 256)