Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354131
b: refs/heads/master
c: 7b63c57
h: refs/heads/master
i:
  354129: 42b63d5
  354127: a2231ba
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Jan 22, 2013
1 parent 6e3dd25 commit 9271f44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b194218dba531b9c36080d29d10fdf9ef96a15bf
refs/heads/master: 7b63c5772fd6eea71b1332570812297e45403126
4 changes: 3 additions & 1 deletion trunk/drivers/staging/dgrp/dgrp_specproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ static struct dgrp_proc_entry dgrp_dpa_table[] = {

void dgrp_unregister_proc(void)
{
unregister_proc_table(dgrp_table, dgrp_proc_dir_entry);
net_entry_pointer = NULL;
mon_entry_pointer = NULL;
dpa_entry_pointer = NULL;
ports_entry_pointer = NULL;

if (dgrp_proc_dir_entry) {
unregister_proc_table(dgrp_table, dgrp_proc_dir_entry);
remove_proc_entry(dgrp_proc_dir_entry->name,
dgrp_proc_dir_entry->parent);
dgrp_proc_dir_entry = NULL;
Expand Down Expand Up @@ -231,6 +231,8 @@ static void register_proc_table(struct dgrp_proc_entry *table,

if (table == NULL)
return;
if (root == NULL)
return;

for (; table->id; table++) {
/* Can't do anything without a proc name. */
Expand Down

0 comments on commit 9271f44

Please sign in to comment.