Skip to content

Commit

Permalink
crypto: proc - simplify the c_show function
Browse files Browse the repository at this point in the history
The path with the CRYPTO_ALG_LARVAL flag has jumped to the end before

Signed-off-by: Tianjia Zhang <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
uudiin authored and herbertx committed Feb 13, 2020
1 parent 9195189 commit 7f1cfe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7f1cfe4

Please sign in to comment.