]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: unisys: removed unused 'visor_device.respond_to_device_create'
authorAlexander Curtin <alexander.curtin@unisys.com>
Wed, 6 Apr 2016 15:20:21 +0000 (11:20 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 04:15:51 +0000 (21:15 -0700)
The respond_to_device_create flag was used previously when we used to
delay responses to create requests until the drivers were finished
loading. This behaviour was removed some time ago, yet the field still
existed, while never being referenced or even initialized.

Signed-off-by: Alexander Curtin <alexander.curtin@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/visorbus.h

index 3788d167b3c6f5cf1a33336afebc6d6d17ccfc68..db59d9731ec257ed77d071d6c7938fa08e8b2671 100644 (file)
@@ -134,7 +134,6 @@ struct visor_device {
        struct list_head list_all;
        struct periodic_work *periodic_work;
        bool being_removed;
-       bool responded_to_device_create;
        /* the code will detect and behave appropriately) */
        struct semaphore visordriver_callback_lock;
        bool pausing;