diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2020-02-05 15:25:23 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-02-13 17:05:26 +0800 |
commit | 7f1cfe41cc298b4087668554fa0b91cef6094945 (patch) | |
tree | d0775b203d7adf6646e518bcef4adacc9c84884e /crypto | |
parent | 9195189e00a7db55e7d448cee973cae87c5a3c71 (diff) | |
download | lwn-7f1cfe41cc298b4087668554fa0b91cef6094945.tar.gz lwn-7f1cfe41cc298b4087668554fa0b91cef6094945.zip |
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 <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/proc.c b/crypto/proc.c index 7b91557adccb..08d8c2bc7e62 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); |