From 93e59bfc3bd0b4069b06cd42025e6735b9aecf5b Mon Sep 17 00:00:00 2001 From: Tim Sell Date: Fri, 10 Jun 2016 21:48:14 -0400 Subject: [PATCH] staging: unisys: visorbus: remove unused parameter from function The off parameter to visorchannel_create_guts() was never used, so it was removed. Signed-off-by: Tim Sell Signed-off-by: David Kershner Acked-By: Neil Horman Reviewed-by: Thomas Gleixner Signed-off-by: Greg Kroah-Hartman --- drivers/staging/unisys/visorbus/visorchannel.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/visorchannel.c index 43315c2017be..1bfbc069c3dd 100644 --- a/drivers/staging/unisys/visorbus/visorchannel.c +++ b/drivers/staging/unisys/visorbus/visorchannel.c @@ -60,8 +60,7 @@ struct visorchannel { */ static struct visorchannel * visorchannel_create_guts(u64 physaddr, unsigned long channel_bytes, - gfp_t gfp, unsigned long off, - uuid_le guid, bool needs_lock) + gfp_t gfp, uuid_le guid, bool needs_lock) { struct visorchannel *channel; int err; @@ -145,7 +144,7 @@ struct visorchannel * visorchannel_create(u64 physaddr, unsigned long channel_bytes, gfp_t gfp, uuid_le guid) { - return visorchannel_create_guts(physaddr, channel_bytes, gfp, 0, guid, + return visorchannel_create_guts(physaddr, channel_bytes, gfp, guid, false); } @@ -153,7 +152,7 @@ struct visorchannel * visorchannel_create_with_lock(u64 physaddr, unsigned long channel_bytes, gfp_t gfp, uuid_le guid) { - return visorchannel_create_guts(physaddr, channel_bytes, gfp, 0, guid, + return visorchannel_create_guts(physaddr, channel_bytes, gfp, guid, true); } -- 2.34.1