summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorMika Westerberg2019-03-28 09:59:26 +0100
committerMika Westerberg2019-04-18 10:18:51 +0200
commita336b62769499202f27ed2c3b6b28bb44ba9bab8 (patch)
treeb74fd707f2577e267a0b5054502c6ed68c39ef61 /drivers/thunderbolt
parentnet: thunderbolt: Unregister ThunderboltIP protocol handler when suspending (diff)
downloadkernel-qcow2-linux-a336b62769499202f27ed2c3b6b28bb44ba9bab8.tar.gz
kernel-qcow2-linux-a336b62769499202f27ed2c3b6b28bb44ba9bab8.tar.xz
kernel-qcow2-linux-a336b62769499202f27ed2c3b6b28bb44ba9bab8.zip
thunderbolt: Remove unused work field in struct tb_switch
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>
Diffstat (limited to 'drivers/thunderbolt')
-rw-r--r--drivers/thunderbolt/tb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/thunderbolt/tb.h b/drivers/thunderbolt/tb.h
index 52584c4003e3..8058ea02d572 100644
--- a/drivers/thunderbolt/tb.h
+++ b/drivers/thunderbolt/tb.h
@@ -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;