X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=kernel%2Fprofile.c;h=9bfadb248dd877b009e49710db79957f13188c5d;hb=90f30eccf41302a2542f5d374af243061902bd98;hp=d6579d511069130980196be79005f2724a01b8d3;hpb=9af9fc45ddd3e315c51f87392b5048967e4343cd;p=firefly-linux-kernel-4.4.55.git diff --git a/kernel/profile.c b/kernel/profile.c index d6579d511069..9bfadb248dd8 100644 --- a/kernel/profile.c +++ b/kernel/profile.c @@ -449,7 +449,6 @@ void create_prof_cpu_mask(struct proc_dir_entry *root_irq_dir) /* create /proc/irq/prof_cpu_mask */ if (!(entry = create_proc_entry("prof_cpu_mask", 0600, root_irq_dir))) return; - entry->nlink = 1; entry->data = (void *)&prof_cpu_mask; entry->read_proc = prof_cpu_mask_read_proc; entry->write_proc = prof_cpu_mask_write_proc;