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

From: Konrad Dybcio
Date: Mon May 15 2023 - 21:31:52 EST




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@xxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

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;