Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a787a68 authored by Al Viro's avatar Al Viro
Browse files

rtl8192u: don't play with reassigning ->proc_fops, just use proc_create()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 895b5599
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -108,9 +108,5 @@ static 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);
}