[PATCH] phy: qcom: qmp-pcie: drop unused reset names

Neil Armstrong neil.armstrong at linaro.org
Wed Oct 7 08:46:32 PDT 2026


On 10/3/26 11:35, Vinod Koul wrote:
> Commit e397c8507e36 ("phy: qcom: qmp-pcie: Add Nord Gen5x16 PCIe
> multi-PHY support") added a bunch of reset names, but also added two
> which are not being used.
> 
> This leads to compiler warnings:
> drivers/phy/qualcomm/phy-qcom-qmp-pcie-multiphy.c:750:27: error: ‘nord_pciephy_port_b_nocsr_reset_l’ defined but not used [-Werror=unused-const-variable=]
>    750 | static const char * const nord_pciephy_port_b_nocsr_reset_l[] = {
>        |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/phy/qualcomm/phy-qcom-qmp-pcie-multiphy.c:746:27: error: ‘nord_pciephy_port_a_nocsr_reset_l’ defined but not used [-Werror=unused-const-variable=]
>    746 | static const char * const nord_pciephy_port_a_nocsr_reset_l[] = {
>        |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Drop these
> 
> Fixes: e397c8507e36 ("phy: qcom: qmp-pcie: Add Nord Gen5x16 PCIe multi-PHY support")
> Signed-off-by: Vinod Koul <vkoul at kernel.org>
> ---
>   drivers/phy/qualcomm/phy-qcom-qmp-pcie-multiphy.c | 8 --------
>   1 file changed, 8 deletions(-)
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>

Thanks,
Neil



More information about the linux-phy mailing list