summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorValentin Rothberg <valentinrothberg@gmail.com>2014-10-21 11:35:32 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2014-11-06 23:14:59 +0800
commit304576a776cc2fea7d40e6d7a58e4d4124f97f58 (patch)
treeacff5eb508a1b2b1fd0a84ab6ee6f7f4820a39f4 /drivers/crypto
parentbac68f2c9a43e60a70e27c0c75aaca7128b6271d (diff)
crypto: aesni - remove unnecessary #define
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@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions