aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorDavid Kershner <david.kershner@unisys.com>2017-03-28 09:34:47 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-29 09:17:03 +0200
commit377ab0017db5a0ae56210dd7a9037befb93dcb2b (patch)
treef75570cf057783c137167e60bcc016e53647f725 /drivers/staging/unisys
parentstaging: unisys: visorbus: get rid of create_bus_type. (diff)
downloadlinux-dev-377ab0017db5a0ae56210dd7a9037befb93dcb2b.tar.xz
linux-dev-377ab0017db5a0ae56210dd7a9037befb93dcb2b.zip
staging: unisys: visorbus: get rid of unused parameter forcematch
The forcematch parameter was not being used, so get rid of it. Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/visorbus/visorbus_main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c
index dedcee485b61..4e7cfa29da12 100644
--- a/drivers/staging/unisys/visorbus/visorbus_main.c
+++ b/drivers/staging/unisys/visorbus/visorbus_main.c
@@ -24,7 +24,6 @@
#define MYDRVNAME "visorbus"
/* module parameters */
-static int visorbus_forcematch;
static int visorbus_forcenomatch;
/* Display string that is guaranteed to be no longer the 99 characters*/
@@ -112,8 +111,6 @@ visorbus_match(struct device *xdev, struct device_driver *xdrv)
drv = to_visor_driver(xdrv);
channel_type = visorchannel_get_uuid(dev->visorchannel);
- if (visorbus_forcematch)
- return 1;
if (visorbus_forcenomatch)
return 0;
if (!drv->channel_types)
@@ -1341,10 +1338,6 @@ visorbus_exit(void)
debugfs_remove_recursive(visorbus_debugfs_dir);
}
-module_param_named(forcematch, visorbus_forcematch, int, 0444);
-MODULE_PARM_DESC(visorbus_forcematch,
- "1 to force a successful dev <--> drv match");
-
module_param_named(forcenomatch, visorbus_forcenomatch, int, 0444);
MODULE_PARM_DESC(visorbus_forcenomatch,
"1 to force an UNsuccessful dev <--> drv match");