From: Jes Sorensen Date: Tue, 5 May 2015 22:36:33 +0000 (-0400) Subject: staging: unisys: visorchannel_get_memregion() isn't used X-Git-Tag: v4.14-rc1~5163^2~805 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f0dc9b1f71af2ed5ad3c248139720d56403325c;p=platform%2Fkernel%2Flinux-rpi.git staging: unisys: visorchannel_get_memregion() isn't used Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h index 21fd785..749beac 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 d2e4fe0..5e4a591 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)