mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
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>
This commit is contained in:
parent
377ab0017d
commit
15928a5569
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user