回复: [PATCH] phy: starfive: remove unused struct 'regval'

From: Changhuang Liang
Date: Mon May 27 2024 - 21:33:14 EST




> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
>
> 'regval' is unused since the original
> commit f8aa660841bc ("phy: starfive: Add mipi dphy rx support").
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>

Reviewed-by: Changhuang Liang <changhuang.liang@xxxxxxxxxxxxxxxx>

> ---
> drivers/phy/starfive/phy-jh7110-dphy-rx.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/phy/starfive/phy-jh7110-dphy-rx.c
> b/drivers/phy/starfive/phy-jh7110-dphy-rx.c
> index 037a9e0263cd..0b039e1f71c5 100644
> --- a/drivers/phy/starfive/phy-jh7110-dphy-rx.c
> +++ b/drivers/phy/starfive/phy-jh7110-dphy-rx.c
> @@ -46,11 +46,6 @@
>
> #define STF_MAP_LANES_NUM 6
>
> -struct regval {
> - u32 addr;
> - u32 val;
> -};
> -
> struct stf_dphy_info {
> /**
> * @maps:
> --
> 2.45.1