]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
crypto: hisilicon/hpre - delete the rudundant space after return
authorHui Tang <tanghui20@huawei.com>
Sat, 10 Apr 2021 09:46:59 +0000 (17:46 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Apr 2021 11:16:34 +0000 (21:16 +1000)
There are two spaces after return, just keep one.

Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_crypto.c
drivers/crypto/hisilicon/hpre/hpre_main.c

index 1b7f1512527531ca729628c0022be6b1c4aa3b98..e523ef70472d5c484fa4d7d19e67ef2c68a4bd96 100644 (file)
@@ -340,7 +340,7 @@ static int hpre_alg_res_post_hf(struct hpre_ctx *ctx, struct hpre_sqe *sqe,
                HREE_SQE_DONE_MASK;
 
        if (likely(err == HPRE_NO_HW_ERR && done == HPRE_HW_TASK_DONE))
-               return  0;
+               return 0;
 
        return -EINVAL;
 }
index a8c79212057d31f420f8703963d39dd8ba73de73..2962c33ca75caee6cb5588917d135d4b3b9c16c3 100644 (file)
@@ -472,7 +472,7 @@ static int hpre_clear_enable_write(struct hpre_debugfs_file *file, u32 val)
               ~HPRE_CTRL_CNT_CLR_CE_BIT) | val;
        writel(tmp, qm->io_base + HPRE_CTRL_CNT_CLR_CE);
 
-       return  0;
+       return 0;
 }
 
 static u32 hpre_cluster_inqry_read(struct hpre_debugfs_file *file)
@@ -494,7 +494,7 @@ static int hpre_cluster_inqry_write(struct hpre_debugfs_file *file, u32 val)
 
        writel(val, qm->io_base + offset + HPRE_CLUSTER_INQURY);
 
-       return  0;
+       return 0;
 }
 
 static ssize_t hpre_ctrl_debug_read(struct file *filp, char __user *buf,