Commit c3d4a970 authored by Tim Sell's avatar Tim Sell Committed by Greg Kroah-Hartman

staging: unisys: visorbus: removed unused periodic_test_workqueue

periodic_test_workqueue was an unused relic from the past, and was removed.
Signed-off-by: default avatarTim Sell <Timothy.Sell@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Acked-By: default avatarNeil Horman <nhorman@tuxdriver.com>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e54d0a30
......@@ -116,14 +116,6 @@ struct bus_type visorbus_type = {
.bus_groups = visorbus_bus_groups,
};
static struct delayed_work periodic_work;
/* YES, we need 2 workqueues.
* The reason is, workitems on the test queue may need to cancel
* workitems on the other queue. You will be in for trouble if you try to
* do this with workitems queued on the same workqueue.
*/
static struct workqueue_struct *periodic_test_workqueue;
static struct workqueue_struct *periodic_dev_workqueue;
static long long bus_count; /** number of bus instances */
/** ever-increasing */
......@@ -1309,13 +1301,6 @@ visorbus_exit(void)
destroy_workqueue(periodic_dev_workqueue);
periodic_dev_workqueue = NULL;
if (periodic_test_workqueue) {
cancel_delayed_work(&periodic_work);
flush_workqueue(periodic_test_workqueue);
destroy_workqueue(periodic_test_workqueue);
periodic_test_workqueue = NULL;
}
list_for_each_safe(listentry, listtmp, &list_all_bus_instances) {
struct visor_device *dev = list_entry(listentry,
struct visor_device,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment