]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
thunderbolt: Get rid of TB_CFG_PKG_PREPARE_TO_SLEEP
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 12 Feb 2024 08:48:34 +0000 (10:48 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 19 Apr 2024 04:52:45 +0000 (07:52 +0300)
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
include/linux/thunderbolt.h

index cd750e4b3440514b28587becc054a467c4b12217..a1670a96cbdc63b37cba7385593a71208ea324c2 100644 (file)
@@ -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 {
index 4338ea9ac4fd9a62bd25b71ccd448386f682487d..7d902d8c054b288eb7393a056dcaca893d47be57 100644 (file)
@@ -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,
 };
 
 /**