Re: [PATCH] crypto: gf128mul - remove incorrect comment

2017-12-22 Thread Herbert Xu
On Mon, Dec 11, 2017 at 01:58:26PM -0800, Eric Biggers wrote:
> From: Eric Biggers 
> 
> The comment in gf128mul_x8_ble() was copy-and-pasted from gf128mul.h and
> makes no sense in the new context.  Remove it.
> 
> Cc: Harsh Jain 
> Signed-off-by: Eric Biggers 

Patch applied.  Thanks.
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


[PATCH] crypto: gf128mul - remove incorrect comment

2017-12-11 Thread Eric Biggers
From: Eric Biggers 

The comment in gf128mul_x8_ble() was copy-and-pasted from gf128mul.h and
makes no sense in the new context.  Remove it.

Cc: Harsh Jain 
Signed-off-by: Eric Biggers 
---
 crypto/gf128mul.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/crypto/gf128mul.c b/crypto/gf128mul.c
index 24e601954c7a..a4b1c026aaee 100644
--- a/crypto/gf128mul.c
+++ b/crypto/gf128mul.c
@@ -160,8 +160,6 @@ void gf128mul_x8_ble(le128 *r, const le128 *x)
 {
u64 a = le64_to_cpu(x->a);
u64 b = le64_to_cpu(x->b);
-
-   /* equivalent to gf128mul_table_be[b >> 63] (see crypto/gf128mul.c): */
u64 _tt = gf128mul_table_be[a >> 56];
 
r->a = cpu_to_le64((a << 8) | (b >> 56));
-- 
2.15.1.424.g9478a66081-goog