Skip to content

Commit 49e6833

Browse files
Tom Rixvinodkoul
authored andcommitted
phy: rockchip: remove unused hw_to_inno function
clang with W=1 reports drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c:284:36: error: unused function 'hw_to_inno' [-Werror,-Wunused-function] static inline struct inno_dsidphy *hw_to_inno(struct clk_hw *hw) ^ This function is not used so remove it. Signed-off-by: Tom Rix <trix@redhat.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Link: https://lore.kernel.org/r/20230324132649.2649166-1-trix@redhat.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 607c101 commit 49e6833

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,6 @@ struct inno_mipi_dphy_timing inno_mipi_dphy_timing_table_max_2_5ghz[] = {
281281
{2500000000, 0x15, 0x54, 0x7f, 0x15, 0x6a},
282282
};
283283

284-
static inline struct inno_dsidphy *hw_to_inno(struct clk_hw *hw)
285-
{
286-
return container_of(hw, struct inno_dsidphy, pll.hw);
287-
}
288-
289284
static void phy_update_bits(struct inno_dsidphy *inno,
290285
u8 first, u8 second, u8 mask, u8 val)
291286
{

0 commit comments

Comments
 (0)