aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hifn_795x.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-08-21 14:55:47 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2020-08-28 16:58:29 +1000
commit9fae1f05b849221d109ce669b054d03b3257f5c4 (patch)
treea1d19e5412bb84769494c4c511ce06302e759b2e /drivers/crypto/hifn_795x.c
parentcrypto: cavium/nitrox - add an error message to explain the failure of pci_request_mem_regions (diff)
downloadlinux-dev-9fae1f05b849221d109ce669b054d03b3257f5c4.tar.xz
linux-dev-9fae1f05b849221d109ce669b054d03b3257f5c4.zip
crypto: hifn_795x - Remove 64-bit build-time check
As we're already using Kconfig to disable 64-bit builds for this driver, there is no point in doing it again in the source code. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--drivers/crypto/hifn_795x.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/crypto/hifn_795x.c b/drivers/crypto/hifn_795x.c
index 3363ca4b1a98..bfc4ac0e4ac4 100644
--- a/drivers/crypto/hifn_795x.c
+++ b/drivers/crypto/hifn_795x.c
@@ -2645,9 +2645,6 @@ static int __init hifn_init(void)
unsigned int freq;
int err;
- /* HIFN supports only 32-bit addresses */
- BUILD_BUG_ON(sizeof(dma_addr_t) != 4);
-
if (strncmp(hifn_pll_ref, "ext", 3) &&
strncmp(hifn_pll_ref, "pci", 3)) {
pr_err("hifn795x: invalid hifn_pll_ref clock, must be pci or ext");