nfsd4: fix unlikely race in session replay case
[safe/jmp/linux-2.6] / crypto / proc.c
index fe95975..58fef67 100644 (file)
@@ -29,7 +29,7 @@ static struct ctl_table crypto_sysctl_table[] = {
                .data           = &fips_enabled,
                .maxlen         = sizeof(int),
                .mode           = 0444,
-               .proc_handler   = &proc_dointvec
+               .proc_handler   = proc_dointvec
        },
        {}
 };
@@ -109,13 +109,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;