From 9c392b472e1bf243275ce937f329ef4c5e15eb21 Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 16 Dec 2015 11:18:57 +0100 Subject: [PATCH] Removed useless comments --- OpenCL/types_ocl.c | 6 +++++- include/kernel_functions.c | 7 ------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/OpenCL/types_ocl.c b/OpenCL/types_ocl.c index b4a6978ef..d3342a63f 100644 --- a/OpenCL/types_ocl.c +++ b/OpenCL/types_ocl.c @@ -96,10 +96,14 @@ static u32 lut3_ca (const u32 a, const u32 b, const u32 c) #endif -static bool allx (const u32 r) +#define allx(r) r + +/* +static u32 allx (const u32 r) { return r; } +*/ static u32 l32_from_64 (u64 a) { diff --git a/include/kernel_functions.c b/include/kernel_functions.c index 05352e099..6a4d3ee60 100644 --- a/include/kernel_functions.c +++ b/include/kernel_functions.c @@ -103,10 +103,6 @@ #if defined _SHA1_ || defined _SAPG_ || defined _OFFICE2007_ || defined _OFFICE2010_ || defined _OLDOFFICE34_ || defined _ANDROIDFDE_ || defined _DCC2_ || defined _WPA_ || defined _MD5_SHA1_ || defined _SHA1_MD5_ || defined _PSAFE2_ || defined _LOTUS8_ || defined _PBKDF2_SHA1_ || defined _RAR3_ || defined _SHA256_SHA1_ -/** - * SHA1 Functions - */ - #ifdef IS_NV #if CUDA_ARCH >= 500 #define SHA1_F0(x,y,z) lut3_ca ((x), (y), (z)) @@ -251,9 +247,6 @@ #endif #if defined _SHA512_ || defined _CLOUDKEY_ || defined _OFFICE2013_ || defined _PDF17L8_ || defined _PBKDF2_SHA512_ -/** - * SHA512 Functions - */ #define SHIFT_RIGHT_64(x,n) ((x) >> (n))