[PATCH 071/141] staging: unisys: get rid of serialloopbacktest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: David Kershner <david.kershner@xxxxxxxxxx>

serialloopbacktest is no longer supported. Get rid of it.

Signed-off-by: David Kershner <david.kershner@xxxxxxxxxx>
Signed-off-by: Benjamin Romer <benjamin.romer@xxxxxxxxxx>
---
 drivers/staging/unisys/visorbus/visorbus_main.c | 7 -------
 drivers/staging/unisys/visorbus/visorchipset.c  | 2 +-
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c
index 3fcd5fb..b00782d 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 3a1ee2d..d93ac15 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)
-- 
2.1.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux