soundwire: qcom: drop unused struct qcom_swrm_ctrl members
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 15 May 2023 13:20:00 +0000 (15:20 +0200)
committerVinod Koul <vkoul@kernel.org>
Sat, 27 May 2023 10:39:57 +0000 (16:09 +0530)
Drop unused members from the driver state container: struct qcom_swrm_ctrl.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230515132000.399745-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/qcom.c

index aad5942..ab1098e 100644 (file)
@@ -187,12 +187,9 @@ struct qcom_swrm_ctrl {
 #endif
        struct completion broadcast;
        struct completion enumeration;
-       struct work_struct slave_work;
        /* Port alloc/free lock */
        struct mutex port_lock;
        struct clk *hclk;
-       u8 wr_cmd_id;
-       u8 rd_cmd_id;
        int irq;
        unsigned int version;
        int wake_irq;