diff options
author | David Kershner <david.kershner@unisys.com> | 2017-03-28 09:34:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-29 09:17:03 +0200 |
commit | 15928a55690d744663ae2a924dca7b765eda9ed5 (patch) | |
tree | 644efd2171c54ee053e84f6aa46be55354cced6b /drivers/staging/unisys | |
parent | 377ab0017db5a0ae56210dd7a9037befb93dcb2b (diff) |
staging: unisys: visorbus: get rid of unused parameter forcenomatch
The forcenomatch 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.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index 4e7cfa29da12..f5e7dd6242f9 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -23,9 +23,6 @@ #define MYDRVNAME "visorbus" -/* module parameters */ -static int visorbus_forcenomatch; - /* Display string that is guaranteed to be no longer the 99 characters*/ #define LINESIZE 99 @@ -111,8 +108,6 @@ visorbus_match(struct device *xdev, struct device_driver *xdrv) drv = to_visor_driver(xdrv); channel_type = visorchannel_get_uuid(dev->visorchannel); - if (visorbus_forcenomatch) - return 0; if (!drv->channel_types) return 0; @@ -1337,7 +1332,3 @@ visorbus_exit(void) bus_unregister(&visorbus_type); debugfs_remove_recursive(visorbus_debugfs_dir); } - -module_param_named(forcenomatch, visorbus_forcenomatch, int, 0444); -MODULE_PARM_DESC(visorbus_forcenomatch, - "1 to force an UNsuccessful dev <--> drv match"); |