mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
phy: qcom: qmp-pcie: drop unused reset names
Commite397c8507e("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:e397c8507e("phy: qcom: qmp-pcie: Add Nord Gen5x16 PCIe multi-PHY support") Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
a1aebc3846
commit
b19cc01678
|
|
@ -743,14 +743,6 @@ static const char * const nord_pciephy_port_abcd_reset_l[] = {
|
|||
"port_a", "port_b", "port_c", "port_d",
|
||||
};
|
||||
|
||||
static const char * const nord_pciephy_port_a_nocsr_reset_l[] = {
|
||||
"port_a_nocsr",
|
||||
};
|
||||
|
||||
static const char * const nord_pciephy_port_b_nocsr_reset_l[] = {
|
||||
"port_b_nocsr",
|
||||
};
|
||||
|
||||
static const char * const nord_pciephy_port_c_nocsr_reset_l[] = {
|
||||
"port_c_nocsr",
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user