Commit bec68463 authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: clean up diagdump proc entry code

Remove remnant code left over from the diagdump proc entry.
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 18b87ed1
...@@ -126,9 +126,6 @@ InitPartitionProperties(void) ...@@ -126,9 +126,6 @@ InitPartitionProperties(void)
static MYPROCTYPE *PartitionType; static MYPROCTYPE *PartitionType;
#define VISORCHIPSET_DIAG_PROC_ENTRY_FN "diagdump"
static struct proc_dir_entry *diag_proc_dir;
#define VISORCHIPSET_PARAHOTPLUG_PROC_ENTRY_FN "parahotplug" #define VISORCHIPSET_PARAHOTPLUG_PROC_ENTRY_FN "parahotplug"
static struct proc_dir_entry *parahotplug_proc_dir; static struct proc_dir_entry *parahotplug_proc_dir;
...@@ -2583,10 +2580,7 @@ visorchipset_exit(void) ...@@ -2583,10 +2580,7 @@ visorchipset_exit(void)
visor_proc_DestroyType(PartitionType); visor_proc_DestroyType(PartitionType);
PartitionType = NULL; PartitionType = NULL;
} }
if (diag_proc_dir) {
remove_proc_entry(VISORCHIPSET_DIAG_PROC_ENTRY_FN, ProcDir);
diag_proc_dir = NULL;
}
memset(&g_DiagMsgHdr, 0, sizeof(CONTROLVM_MESSAGE_HEADER)); memset(&g_DiagMsgHdr, 0, sizeof(CONTROLVM_MESSAGE_HEADER));
memset(&g_ChipSetMsgHdr, 0, sizeof(CONTROLVM_MESSAGE_HEADER)); memset(&g_ChipSetMsgHdr, 0, sizeof(CONTROLVM_MESSAGE_HEADER));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment