Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372726
b: refs/heads/master
c: e765acb
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Al Viro committed May 4, 2013
1 parent 15c8ae9 commit 49e2ecb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 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: 60b7bf4e61dd45e2fe06bd16ba04984405b564f1
refs/heads/master: e765acb4673f377c53505c01279c040906bd706e
15 changes: 0 additions & 15 deletions trunk/drivers/nubus/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,21 +147,6 @@ int nubus_proc_attach_device(struct nubus_dev *dev)
}
EXPORT_SYMBOL(nubus_proc_attach_device);

/* FIXME: this is certainly broken! */
int nubus_proc_detach_device(struct nubus_dev *dev)
{
struct proc_dir_entry *e;

if ((e = dev->procdir)) {
if (atomic_read(&e->count))
return -EBUSY;
remove_proc_entry(e->name, proc_bus_nubus_dir);
dev->procdir = NULL;
}
return 0;
}
EXPORT_SYMBOL(nubus_proc_detach_device);

/*
* /proc/nubus stuff
*/
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/nubus.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ static inline void nubus_proc_init(void) {}
#endif
int get_nubus_list(char *buf);
int nubus_proc_attach_device(struct nubus_dev *dev);
int nubus_proc_detach_device(struct nubus_dev *dev);
/* If we need more precision we can add some more of these */
struct nubus_dev* nubus_find_device(unsigned short category,
unsigned short type,
Expand Down

0 comments on commit 49e2ecb

Please sign in to comment.