Removed useless comments
authorjsteube <jens.steube@gmail.com>
Wed, 16 Dec 2015 10:18:57 +0000 (11:18 +0100)
committerjsteube <jens.steube@gmail.com>
Wed, 16 Dec 2015 10:18:57 +0000 (11:18 +0100)
OpenCL/types_ocl.c
include/kernel_functions.c

index b4a6978..d3342a6 100644 (file)
@@ -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)
 {
index 05352e0..6a4d3ee 100644 (file)
 
 #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))
 #endif
 
 #if defined _SHA512_ || defined _CLOUDKEY_ || defined _OFFICE2013_ || defined _PDF17L8_ || defined _PBKDF2_SHA512_
-/**
- * SHA512 Functions
- */
 
 #define SHIFT_RIGHT_64(x,n) ((x) >> (n))