Re: [PATCH] aesni-intel_glue.c: remove unnecessary #define

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 21, 2014 at 11:35:32AM +0200, Valentin Rothberg wrote:
> The CPP identifier 'HAS_PCBC' is defined when the Kconfig
> option CRYPTO_PCBC is set as 'y' or 'm', and is further
> used in two ifdef blocks to conditionally compile source
> code. This indirection hides the actual Kconfig dependency
> and complicates readability. Moreover, it's inconsistent
> with the rest of the ifdef blocks in the file, which
> directly reference Kconfig options.
> 
> This patch removes 'HAS_PCBC' and replaces its occurrences
> with the actual dependency on 'CRYPTO_PCBC' being set as
> 'y' or 'm'.
> 
> Signed-off-by: Valentin Rothberg <valentinrothberg@xxxxxxxxx>

Applied.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux