Commit a2035904 authored by Hui Tang's avatar Hui Tang Committed by Herbert Xu

crypto: hisilicon/hpre - delete the rudundant space after return

There are two spaces after return, just keep one.
Signed-off-by: default avatarHui Tang <tanghui20@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 44200f2d
...@@ -340,7 +340,7 @@ static int hpre_alg_res_post_hf(struct hpre_ctx *ctx, struct hpre_sqe *sqe, ...@@ -340,7 +340,7 @@ static int hpre_alg_res_post_hf(struct hpre_ctx *ctx, struct hpre_sqe *sqe,
HREE_SQE_DONE_MASK; HREE_SQE_DONE_MASK;
if (likely(err == HPRE_NO_HW_ERR && done == HPRE_HW_TASK_DONE)) if (likely(err == HPRE_NO_HW_ERR && done == HPRE_HW_TASK_DONE))
return 0; return 0;
return -EINVAL; return -EINVAL;
} }
......
...@@ -472,7 +472,7 @@ static int hpre_clear_enable_write(struct hpre_debugfs_file *file, u32 val) ...@@ -472,7 +472,7 @@ static int hpre_clear_enable_write(struct hpre_debugfs_file *file, u32 val)
~HPRE_CTRL_CNT_CLR_CE_BIT) | val; ~HPRE_CTRL_CNT_CLR_CE_BIT) | val;
writel(tmp, qm->io_base + HPRE_CTRL_CNT_CLR_CE); 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) 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) ...@@ -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); 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, static ssize_t hpre_ctrl_debug_read(struct file *filp, char __user *buf,
......
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