diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2015-05-05 18:35:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-08 15:25:55 +0200 |
commit | 53dfe389c863eddf6aaeeab8afb34ffdd42a2079 (patch) | |
tree | cedaf781d9e72fcb538da382c311ebe38a404785 /drivers | |
parent | f10c55428f9e16361d69073e2e619f38a7a1c438 (diff) |
staging: unisys: buffer_list_pool isn't used for anything
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/unisys/visorchipset/visorchipset_main.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index e33d8866daeb..69730d190954 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -138,13 +138,6 @@ static struct visor_livedump_info livedump_info; static struct controlvm_message controlvm_pending_msg; static bool controlvm_pending_msg_valid = false; -/* Pool of struct putfile_buffer_entry, for keeping track of pending (incoming) - * TRANSMIT_FILE PutFile payloads. - */ -static struct kmem_cache *putfile_buffer_list_pool; -static const char putfile_buffer_list_pool_name[] = - "controlvm_putfile_buffer_list_pool"; - /* This identifies a data buffer that has been received via a controlvm messages * in a remote --> local CONTROLVM_TRANSMIT_FILE conversation. */ @@ -2195,15 +2188,6 @@ visorchipset_init(void) memset(&g_del_dump_msg_hdr, 0, sizeof(struct controlvm_message_header)); - putfile_buffer_list_pool = - kmem_cache_create(putfile_buffer_list_pool_name, - sizeof(struct putfile_buffer_entry), - 0, SLAB_HWCACHE_ALIGN, NULL); - if (!putfile_buffer_list_pool) { - POSTCODE_LINUX_2(CHIPSET_INIT_FAILURE_PC, DIAG_SEVERITY_ERR); - rc = -1; - goto cleanup; - } if (!visorchipset_disable_controlvm) { /* if booting in a crash kernel */ if (is_kdump_kernel()) @@ -2262,10 +2246,6 @@ visorchipset_exit(void) periodic_controlvm_workqueue = NULL; destroy_controlvm_payload_info(&controlvm_payload_info); } - if (putfile_buffer_list_pool) { - kmem_cache_destroy(putfile_buffer_list_pool); - putfile_buffer_list_pool = NULL; - } cleanup_controlvm_structures(); |