]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: ath12k: Remove unused DFS Unit Test definitions
authorJeff Johnson <jeff.johnson@oss.qualcomm.com>
Tue, 10 Mar 2026 15:16:13 +0000 (08:16 -0700)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 16 Mar 2026 15:34:23 +0000 (08:34 -0700)
The following are unused, so remove them:
struct wmi_dfs_unit_test_arg
macro DFS_PHYERR_UNIT_TEST_CMD

Compile tested only.

Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20260310-ath12k-unit-test-cleanup-v1-2-03e3df56f903@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/wmi.h

index 8d766dd5b30451270f5db46502b08e51ec921c1f..5ba9b7d3a8888839887e5938d7c902cdfc40c3b9 100644 (file)
@@ -4193,7 +4193,6 @@ struct wmi_addba_clear_resp_cmd {
        struct ath12k_wmi_mac_addr_params peer_macaddr;
 } __packed;
 
-#define DFS_PHYERR_UNIT_TEST_CMD 0
 #define DFS_UNIT_TEST_MODULE   0x2b
 #define DFS_UNIT_TEST_TOKEN    0xAA
 
@@ -4204,12 +4203,6 @@ enum dfs_test_args_idx {
        DFS_MAX_TEST_ARGS,
 };
 
-struct wmi_dfs_unit_test_arg {
-       u32 cmd_id;
-       u32 pdev_id;
-       u32 radar_param;
-};
-
 /* update if another test command requires more */
 #define WMI_UNIT_TEST_ARGS_MAX DFS_MAX_TEST_ARGS