]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
thunderbolt: Remove unused work field in struct tb_switch
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 28 Mar 2019 08:59:26 +0000 (11:59 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Apr 2019 08:18:51 +0000 (11:18 +0300)
This field is not used anywhere so remove it.

Reported-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.h

index 52584c4003e3a2f3263b277ae89566f5c71528da..8058ea02d5725a09cec49738272e9b4a3629b763 100644 (file)
@@ -70,7 +70,6 @@ struct tb_switch_nvm {
  * @boot: Whether the switch was already authorized on boot or not
  * @rpm: The switch supports runtime PM
  * @authorized: Whether the switch is authorized by user or policy
- * @work: Work used to automatically authorize a switch
  * @security_level: Switch supported security level
  * @key: Contains the key used to challenge the device or %NULL if not
  *      supported. Size of the key is %TB_SWITCH_KEY_SIZE.
@@ -105,7 +104,6 @@ struct tb_switch {
        bool boot;
        bool rpm;
        unsigned int authorized;
-       struct work_struct work;
        enum tb_security_level security_level;
        u8 *key;
        u8 connection_id;