staging: unisys: get rid of serialloopbacktest
authorDavid Kershner <david.kershner@unisys.com>
Tue, 5 May 2015 22:36:48 +0000 (18:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 13:27:28 +0000 (15:27 +0200)
serialloopbacktest is no longer supported. Get rid of it.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c
drivers/staging/unisys/visorbus/visorchipset.c

index 3fcd5fb..b00782d 100644 (file)
@@ -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);
index 3a1ee2d..d93ac15 100644 (file)
@@ -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)