staging: unisys: remove obsolete proc entry code
There is an unused variable in the visorchipset_bus_info structure that used to be for a proc entry, so remove it, and the code that referenced it. We don't need it anymore. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9b989a98d7
commit
a59d7bed79
2 changed files with 0 additions and 5 deletions
|
@ -133,7 +133,6 @@ struct visorchipset_bus_info {
|
||||||
u8 *description; /* UTF8 */
|
u8 *description; /* UTF8 */
|
||||||
u64 reserved1;
|
u64 reserved1;
|
||||||
u32 reserved2;
|
u32 reserved2;
|
||||||
MYPROCOBJECT *proc_object;
|
|
||||||
struct {
|
struct {
|
||||||
u32 server:1;
|
u32 server:1;
|
||||||
/* Add new fields above. */
|
/* Add new fields above. */
|
||||||
|
|
|
@ -503,10 +503,6 @@ bus_info_clear(void *v)
|
||||||
{
|
{
|
||||||
struct visorchipset_bus_info *p = (struct visorchipset_bus_info *) (v);
|
struct visorchipset_bus_info *p = (struct visorchipset_bus_info *) (v);
|
||||||
|
|
||||||
if (p->proc_object) {
|
|
||||||
visor_proc_DestroyObject(p->proc_object);
|
|
||||||
p->proc_object = NULL;
|
|
||||||
}
|
|
||||||
kfree(p->name);
|
kfree(p->name);
|
||||||
p->name = NULL;
|
p->name = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue