From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 14 Jun 2014 03:45:54 +0000 Subject: Re: [patch] crypto: caam - remove duplicate FIFOST_CONT_MASK define Message-Id: <201406140545.54199.marex@denx.de> List-Id: References: <20140609151941.GN9600@mwanda> In-Reply-To: <20140609151941.GN9600@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Alex Porosanu , Herbert Xu , linux-crypto@vger.kernel.org, kernel-janitors@vger.kernel.org On Monday, June 09, 2014 at 05:19:41 PM, Dan Carpenter wrote: > The FIFOST_CONT_MASK define is cut and pasted twice so we can delete the > second instance. > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h > index 7e4500f..d397ff9 100644 > --- a/drivers/crypto/caam/desc.h > +++ b/drivers/crypto/caam/desc.h > @@ -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. Acked-by: Marek Vasut Best regards, Marek Vasut