From 5f0dc9b1f71af2ed5ad3c248139720d56403325c Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Tue, 5 May 2015 18:36:33 -0400 Subject: [PATCH] staging: unisys: visorchannel_get_memregion() isn't used Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- drivers/staging/unisys/include/visorbus.h | 1 - drivers/staging/unisys/visorbus/visorchannel.c | 7 ------- 2 files changed, 8 deletions(-) diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h index 21fd78583ba9..749beac488e6 100644 --- a/drivers/staging/unisys/include/visorbus.h +++ b/drivers/staging/unisys/include/visorbus.h @@ -196,7 +196,6 @@ char *visorchannel_id(struct visorchannel *channel, char *s); char *visorchannel_zoneid(struct visorchannel *channel, char *s); u64 visorchannel_get_clientpartition(struct visorchannel *channel); uuid_le visorchannel_get_uuid(struct visorchannel *channel); -struct memregion *visorchannel_get_memregion(struct visorchannel *channel); char *visorchannel_uuid_id(uuid_le *guid, char *s); void visorchannel_debug(struct visorchannel *channel, int num_queues, struct seq_file *seq, u32 off); diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/visorchannel.c index d2e4fe051ed1..5e4a591ff723 100644 --- a/drivers/staging/unisys/visorbus/visorchannel.c +++ b/drivers/staging/unisys/visorbus/visorchannel.c @@ -174,13 +174,6 @@ visorchannel_get_uuid(struct visorchannel *channel) } EXPORT_SYMBOL_GPL(visorchannel_get_uuid); -struct memregion * -visorchannel_get_memregion(struct visorchannel *channel) -{ - return &channel->memregion; -} -EXPORT_SYMBOL_GPL(visorchannel_get_memregion); - int visorchannel_read(struct visorchannel *channel, ulong offset, void *local, ulong nbytes) -- 2.39.5