Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Tom Rix and committed by
Vinod Koul
49e6833f 607c101f

-5
-5
drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c
··· 281 281 {2500000000, 0x15, 0x54, 0x7f, 0x15, 0x6a}, 282 282 }; 283 283 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 - 289 284 static void phy_update_bits(struct inno_dsidphy *inno, 290 285 u8 first, u8 second, u8 mask, u8 val) 291 286 {