2024-05-27 21:00:17

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: [PATCH] phy: miphy28lp: remove unused struct 'miphy_initval'

From: "Dr. David Alan Gilbert" <[email protected]>

'miphy_initval' is unused since the original
commit 2c14e9be0c60 ("phy: miphy28lp: Provide support for the MiPHY28lp
Generic PHY").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
drivers/phy/st/phy-miphy28lp.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/phy/st/phy-miphy28lp.c b/drivers/phy/st/phy-miphy28lp.c
index 063fc38788ed..43cef89af55e 100644
--- a/drivers/phy/st/phy-miphy28lp.c
+++ b/drivers/phy/st/phy-miphy28lp.c
@@ -228,11 +228,6 @@ struct miphy28lp_dev {
int nphys;
};

-struct miphy_initval {
- u16 reg;
- u16 val;
-};
-
enum miphy_sata_gen { SATA_GEN1, SATA_GEN2, SATA_GEN3 };

static char *PHY_TYPE_name[] = { "sata-up", "pcie-up", "", "usb3-up" };
--
2.45.1



2024-06-03 14:35:56

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] phy: miphy28lp: remove unused struct 'miphy_initval'


On Mon, 27 May 2024 21:58:44 +0100, [email protected] wrote:
> 'miphy_initval' is unused since the original
> commit 2c14e9be0c60 ("phy: miphy28lp: Provide support for the MiPHY28lp
> Generic PHY").
>
> Remove it.
>
>
> [...]

Applied, thanks!

[1/1] phy: miphy28lp: remove unused struct 'miphy_initval'
commit: 3f8bb7a7b4e016df586f464279936a5767c2a36a

Best regards,
--
Vinod Koul <[email protected]>