Skip to contentSkip to conversation

thunderbolt: Get rid of TB_CFG_PKG_PREPARE_TO_SLEEP

PATCH Applied Mika Westerberg 1 participant 2 messages Apr 15, 2024 – Apr 19, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thunderbolt: Get rid of TB_CFG_PKG_PREPARE_TO_SLEEP

This is not used anywhere in the driver so remove it. No functional changes.

---
 drivers/thunderbolt/tb_msgs.h | 6 ------
 include/linux/thunderbolt.h   | 1 -
 2 files changed, 7 deletions(-)
drivers/thunderbolt/tb_msgs.h +0 -6
index cd750e4b3440..a1670a96cbdc 100644
@@ -98,12 +98,6 @@ struct cfg_reset_pkg {
 	struct tb_cfg_header header;
 } __packed;
 
-/* TB_CFG_PKG_PREPARE_TO_SLEEP */
-struct cfg_pts_pkg {
-	struct tb_cfg_header header;
-	u32 data;
-} __packed;
-
 /* ICM messages */
 
 enum icm_pkg_code {
include/linux/thunderbolt.h +0 -1
index 4338ea9ac4fd..7d902d8c054b 100644
@@ -33,7 +33,6 @@ enum tb_cfg_pkg_type {
 	TB_CFG_PKG_ICM_EVENT = 10,
 	TB_CFG_PKG_ICM_CMD = 11,
 	TB_CFG_PKG_ICM_RESP = 12,
-	TB_CFG_PKG_PREPARE_TO_SLEEP = 13,
 };
 
 /**
Signature · 1 line
2.43.0