kernel: bump 4.14 to 4.14.159
[openwrt/openwrt.git] / target / linux / apm821xx / patches-4.14 / 020-0022-crypto-crypto4xx-simplify-sa-and-state-context-acqui.patch
index 55c85005afa3ce61d726cf1932bd0c674c53dcb0..2ac1e5a1d6597c0fe0b86ead08f69d57c96accbe 100644 (file)
@@ -167,7 +167,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  /**
   * alloc memory for the gather ring
   * no need to alloc buf for the ring
-@@ -892,8 +861,6 @@ static int crypto4xx_alg_init(struct cry
+@@ -888,8 +857,6 @@ static int crypto4xx_alg_init(struct cry
        ctx->dev = amcc_alg->dev;
        ctx->sa_in = NULL;
        ctx->sa_out = NULL;
@@ -176,7 +176,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
        ctx->sa_len = 0;
  
        switch (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) {
-@@ -914,7 +881,6 @@ static void crypto4xx_alg_exit(struct cr
+@@ -910,7 +877,6 @@ static void crypto4xx_alg_exit(struct cr
        struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm);
  
        crypto4xx_free_sa(ctx);