diff mbox series

[RESEND] soundwire: qcom: drop unused struct qcom_swrm_ctrl members

Message ID 20230515132000.399745-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit 0a207b6b1892efafef80ad2fb21761f3b0f6f13a
Headers show
Series [RESEND] soundwire: qcom: drop unused struct qcom_swrm_ctrl members | expand

Commit Message

Krzysztof Kozlowski May 15, 2023, 1:20 p.m. UTC
Drop unused members from the driver state container: struct qcom_swrm_ctrl.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/soundwire/qcom.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Konrad Dybcio May 16, 2023, 1:31 a.m. UTC | #1
On 15.05.2023 15:20, Krzysztof Kozlowski wrote:
> 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>

Konrad
>  drivers/soundwire/qcom.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c
> index aad5942e5980..ab1098ec56e6 100644
> --- a/drivers/soundwire/qcom.c
> +++ b/drivers/soundwire/qcom.c
> @@ -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;
Vinod Koul May 27, 2023, 10:40 a.m. UTC | #2
On 15-05-23, 15:20, Krzysztof Kozlowski wrote:
> Drop unused members from the driver state container: struct qcom_swrm_ctrl.

Applied, thanks
diff mbox series

Patch

diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c
index aad5942e5980..ab1098ec56e6 100644
--- a/drivers/soundwire/qcom.c
+++ b/drivers/soundwire/qcom.c
@@ -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;