From: David Kershner Date: Tue, 5 May 2015 22:36:48 +0000 (-0400) Subject: staging: unisys: get rid of serialloopbacktest X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=330782577e8c5c977aab1173088a59d3b19c4fce;p=openwrt%2Fstaging%2Fblogic.git staging: unisys: get rid of serialloopbacktest serialloopbacktest is no longer supported. Get rid of it. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index 3fcd5fb2cb24..b00782d21b07 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -35,7 +35,6 @@ int visorbus_forcenomatch; #define MAXDEVICETEST 4 int visorbus_devicetest; int visorbus_debugref; -int visorbus_serialloopbacktest; #define SERIALLOOPBACKCHANADDR (100 * 1024 * 1024) /** This is the private data that we store for each bus device instance. @@ -2131,12 +2130,6 @@ module_param_named(debugref, visorbus_debugref, int, S_IRUGO); MODULE_PARM_DESC(visorbus_debugref, "1 to debug reference counting"); int visorbus_debugref = 0; -module_param_named(serialloopbacktest, visorbus_serialloopbacktest, - int, S_IRUGO); -MODULE_PARM_DESC(visorbus_serialloopbacktest, - "non-0 to just create 2 serial devices on the same channel"); -int visorbus_serialloopbacktest = 0; - MODULE_AUTHOR("Unisys"); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Supervisor bus driver for service partition: ver " VERSION); diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index 3a1ee2d21a9f..d93ac151f3ae 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -2642,7 +2642,7 @@ visorchipset_file_init(dev_t major_dev, struct visorchannel **controlvm_channel) static int __init visorchipset_init(void) { - int rc = 0, x = 0; + int rc = 0; HOSTADDRESS addr; if (!unisys_spar_platform)