crypto: api - Remove digest case from procfs show handler
authorBenjamin Gilbert <bgilbert@cs.cmu.edu>
Mon, 19 Oct 2009 03:57:20 +0000 (12:57 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 Oct 2009 03:57:20 +0000 (12:57 +0900)
Remove special handling of old-style digest algorithms from the procfs
show handler.

Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/proc.c

index 5dc07e4..ff4cb4a 100644 (file)
@@ -115,13 +115,6 @@ static int c_show(struct seq_file *m, void *p)
                seq_printf(m, "max keysize  : %u\n",
                                        alg->cra_cipher.cia_max_keysize);
                break;
-               
-       case CRYPTO_ALG_TYPE_DIGEST:
-               seq_printf(m, "type         : digest\n");
-               seq_printf(m, "blocksize    : %u\n", alg->cra_blocksize);
-               seq_printf(m, "digestsize   : %u\n",
-                          alg->cra_digest.dia_digestsize);
-               break;
        case CRYPTO_ALG_TYPE_COMPRESS:
                seq_printf(m, "type         : compression\n");
                break;