From: Jon Frisch Date: Mon, 19 Sep 2016 21:09:16 +0000 (-0400) Subject: staging: unisys: visorbus remove unused module parameter X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=41ef5e5a4ad5044841296098b90b4f9da0d264f4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: unisys: visorbus remove unused module parameter This patch removes the unused module parameter visorchipset_visorbusregwait Signed-off-by: Jon Frisch Signed-off-by: David Kershner Reported-by: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index ad8a40767967..656583e44cde 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -50,7 +50,6 @@ * Module parameters */ static int visorchipset_major; -static int visorchipset_visorbusregwait = 1; /* default is on */ static unsigned long controlvm_payload_bytes_buffered; static u32 dump_vhba_bus; @@ -2311,9 +2310,6 @@ static void exit_unisys(void) module_param_named(major, visorchipset_major, int, S_IRUGO); MODULE_PARM_DESC(visorchipset_major, "major device number to use for the device node"); -module_param_named(visorbusregwait, visorchipset_visorbusregwait, int, S_IRUGO); -MODULE_PARM_DESC(visorchipset_visorbusregwait, - "1 to have the module wait for the visor bus to register"); module_init(init_unisys); module_exit(exit_unisys);