diff mbox series

thunderbolt: Get rid of TB_CFG_PKG_PREPARE_TO_SLEEP

Message ID 20240415070106.577176-1-mika.westerberg@linux.intel.com (mailing list archive)
State Accepted
Commit c936e287df26929ad6b5fd7fef22b356e434e90e
Headers show
Series thunderbolt: Get rid of TB_CFG_PKG_PREPARE_TO_SLEEP | expand

Commit Message

Mika Westerberg April 15, 2024, 7:01 a.m. UTC
This is not used anywhere in the driver so remove it. No functional
changes.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/thunderbolt/tb_msgs.h | 6 ------
 include/linux/thunderbolt.h   | 1 -
 2 files changed, 7 deletions(-)

Comments

Mika Westerberg April 19, 2024, 5:03 a.m. UTC | #1
On Mon, Apr 15, 2024 at 10:01:06AM +0300, Mika Westerberg wrote:
> This is not used anywhere in the driver so remove it. No functional
> changes.
> 
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>

Applied to thunderbolt.git/next.
diff mbox series

Patch

diff --git a/drivers/thunderbolt/tb_msgs.h b/drivers/thunderbolt/tb_msgs.h
index cd750e4b3440..a1670a96cbdc 100644
--- a/drivers/thunderbolt/tb_msgs.h
+++ b/drivers/thunderbolt/tb_msgs.h
@@ -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 {
diff --git a/include/linux/thunderbolt.h b/include/linux/thunderbolt.h
index 4338ea9ac4fd..7d902d8c054b 100644
--- a/include/linux/thunderbolt.h
+++ b/include/linux/thunderbolt.h
@@ -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,
 };
 
 /**