]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
crypto: hisilicon/sec - delete redundant blank lines
authorKai Ye <yekai13@huawei.com>
Fri, 9 Sep 2022 06:28:11 +0000 (06:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:50:01 +0000 (12:50 +0100)
[ Upstream commit 0413623c27a380d0da7240717f9435d24776b985 ]

Some coding style fixes in sec crypto file.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Stable-dep-of: fd337f852b26 ("crypto: hisilicon/sec2 - fix for aead icv error")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/hisilicon/sec2/sec_crypto.c

index c8fa964238e7d7715be144aea031227d10ae1570..72e26a4bfb8e624200073b210ff4c103f142b852 100644 (file)
@@ -1674,7 +1674,6 @@ static void sec_aead_callback(struct sec_ctx *c, struct sec_req *req, int err)
                                          aead_req->out_mac,
                                          authsize, a_req->cryptlen +
                                          a_req->assoclen);
-
                if (unlikely(sz != authsize)) {
                        dev_err(c->dev, "copy out mac err!\n");
                        err = -EINVAL;
@@ -1961,7 +1960,6 @@ static int sec_aead_sha512_ctx_init(struct crypto_aead *tfm)
        return sec_aead_ctx_init(tfm, "sha512");
 }
 
-
 static int sec_skcipher_cryptlen_ckeck(struct sec_ctx *ctx,
        struct sec_req *sreq)
 {