crypto: hifn_795x - Remove 64-bit build-time check
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Aug 2020 04:55:47 +0000 (14:55 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Aug 2020 06:58:29 +0000 (16:58 +1000)
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>
drivers/crypto/hifn_795x.c

index 3363ca4b1a988b1ac54fb8676124359a6ca05b4d..bfc4ac0e4ac4e408d582c07b61d1dd2ba6ee41f1 100644 (file)
@@ -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");