Commit 9fae1f05 authored by Herbert Xu's avatar Herbert Xu

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9fcddaf2
...@@ -2645,9 +2645,6 @@ static int __init hifn_init(void) ...@@ -2645,9 +2645,6 @@ static int __init hifn_init(void)
unsigned int freq; unsigned int freq;
int err; int err;
/* HIFN supports only 32-bit addresses */
BUILD_BUG_ON(sizeof(dma_addr_t) != 4);
if (strncmp(hifn_pll_ref, "ext", 3) && if (strncmp(hifn_pll_ref, "ext", 3) &&
strncmp(hifn_pll_ref, "pci", 3)) { strncmp(hifn_pll_ref, "pci", 3)) {
pr_err("hifn795x: invalid hifn_pll_ref clock, must be pci or ext"); pr_err("hifn795x: invalid hifn_pll_ref clock, must be pci or ext");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment