[PATCH 03/10] staging: ccree: remove min/max macros

Gilad Ben-Yossef gilad at benyossef.com
Sun May 7 13:35:56 UTC 2017


Remove useless and wrong min/max macros.

Signed-off-by: Gilad Ben-Yossef <gilad at benyossef.com>
---
 drivers/staging/ccree/cc_crypto_ctx.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h
index 31ccf51..216d247 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)
-- 
2.1.4



More information about the devel mailing list