diff options
-rw-r--r-- | drivers/misc/sgi-gru/gruprocfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/sgi-gru/gruprocfs.c b/drivers/misc/sgi-gru/gruprocfs.c index a8a2e760cca3..4f6fc11a2637 100644 --- a/drivers/misc/sgi-gru/gruprocfs.c +++ b/drivers/misc/sgi-gru/gruprocfs.c | |||
@@ -351,7 +351,7 @@ static void delete_proc_files(void) | |||
351 | for (p = proc_files; p->name; p++) | 351 | for (p = proc_files; p->name; p++) |
352 | if (p->entry) | 352 | if (p->entry) |
353 | remove_proc_entry(p->name, proc_gru); | 353 | remove_proc_entry(p->name, proc_gru); |
354 | remove_proc_entry("gru", NULL); | 354 | remove_proc_entry("gru", proc_gru->parent); |
355 | } | 355 | } |
356 | } | 356 | } |
357 | 357 | ||