]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: ccree: remove min/max macros
authorGilad Ben-Yossef <gilad@benyossef.com>
Sun, 7 May 2017 13:35:56 +0000 (16:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 05:41:59 +0000 (07:41 +0200)
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>
drivers/staging/ccree/cc_crypto_ctx.h

index 31ccf518fda44d37e225030330943a6aa6e91a71..216d24791d5dd0c6a44bb4d624c761126da79cf8 100644 (file)
 
 #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)