Skip to contentSkip to conversation

crypto: caam - remove duplicate FIFOST_CONT_MASK define

PATCH In review Dan Carpenter 4 participants 4 messages Jun 9, 2014 – Jun 20, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: caam - remove duplicate FIFOST_CONT_MASK define

The FIFOST_CONT_MASK define is cut and pasted twice so we can delete the second instance.

drivers/crypto/caam/desc.h +0 -1
index 7e4500f..d397ff9 100644
@@ -321,7 +321,6 @@ struct sec4_sg_entry {
 /* Continue - Not the last FIFO store to come */
 #define FIFOST_CONT_SHIFT	23
 #define FIFOST_CONT_MASK	(1 << FIFOST_CONT_SHIFT)
-#define FIFOST_CONT_MASK	(1 << FIFOST_CONT_SHIFT)
 
 /*
  * Extended Length - use 32-bit extended length that
maintainer
#2 lore raw
Quoted 9 lines · Kim Phillips
Quoted 4 lines · On Mon, 9 Jun 2014 18:19:41 +0300 Dan Carpenter <[email protected]>…

The FIFOST_CONT_MASK define is cut and pasted twice so we can delete the second instance.

Patch applied.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Acked-by on v1 1/1
#3 lore raw
In reply to Dan Carpenter
Quoted 10 lines · Dan Carpenter

The FIFOST_CONT_MASK define is cut and pasted twice so we can delete the second instance.

drivers/crypto/caam/desc.h +0 -0
index 7e4500f..d397ff9 100644

drivers/crypto/caam/desc.h struct sec4_sg_entry { · line 326

Quoted 7 lines
drivers/crypto/caam/desc.h +0 -1
@@ -321,7 +321,6 @@ struct sec4_sg_entry {
 /* Continue - Not the last FIFO store to come */
 #define FIFOST_CONT_SHIFT	23
 #define FIFOST_CONT_MASK	(1 << FIFOST_CONT_SHIFT)
-#define FIFOST_CONT_MASK	(1 << FIFOST_CONT_SHIFT)
 
 /*
  * Extended Length - use 32-bit extended length that

Sigh, I'm surprised the compiler didn't choke about this.

Best regards,
Marek Vasut