From: Tianjia Zhang Date: Wed, 5 Feb 2020 07:25:23 +0000 (+0800) Subject: crypto: proc - simplify the c_show function X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7f1cfe41cc298b4087668554fa0b91cef6094945;p=linux.git crypto: proc - simplify the c_show function The path with the CRYPTO_ALG_LARVAL flag has jumped to the end before Signed-off-by: Tianjia Zhang Signed-off-by: Herbert Xu --- diff --git a/crypto/proc.c b/crypto/proc.c index 7b91557adccbc..08d8c2bc7e62d 100644 --- a/crypto/proc.c +++ b/crypto/proc.c @@ -60,7 +60,7 @@ static int c_show(struct seq_file *m, void *p) goto out; } - switch (alg->cra_flags & (CRYPTO_ALG_TYPE_MASK | CRYPTO_ALG_LARVAL)) { + switch (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) { case CRYPTO_ALG_TYPE_CIPHER: seq_printf(m, "type : cipher\n"); seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);