Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93e59bfc authored by Tim Sell's avatar Tim Sell Committed by Greg Kroah-Hartman
Browse files

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: default avatarTim Sell <Timothy.Sell@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Acked-By: default avatarNeil Horman <nhorman@tuxdriver.com>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5f084e27
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -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);
}