Skip to content

Commit

Permalink
[CRYPTO] api: Switch to proc_create()
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and herbertx committed Apr 21, 2008
1 parent 3925e6f commit 607424d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crypto/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,7 @@ static const struct file_operations proc_crypto_ops = {

void __init crypto_init_proc(void)
{
struct proc_dir_entry *proc;

proc = create_proc_entry("crypto", 0, NULL);
if (proc)
proc->proc_fops = &proc_crypto_ops;
proc_create("crypto", 0, NULL, &proc_crypto_ops);
}

void __exit crypto_exit_proc(void)
Expand Down

0 comments on commit 607424d

Please sign in to comment.