We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a09a1e commit 8c641a2Copy full SHA for 8c641a2
examples/procfs1.c
@@ -48,7 +48,6 @@ static int __init procfs1_init(void)
48
{
49
our_proc_file = proc_create(procfs_name, 0644, NULL, &proc_file_fops);
50
if (NULL == our_proc_file) {
51
- proc_remove(our_proc_file);
52
pr_alert("Error:Could not initialize /proc/%s\n", procfs_name);
53
return -ENOMEM;
54
}
0 commit comments