Skip to content

Commit 7455ced

Browse files
Jiapeng Chongmmind
authored andcommitted
drm/rockchip: remove unused function
Fix the following clang warning: drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:320:20: warning: unused function 'dsi_set' [-Wunused-function]. Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/1618476421-114429-1-git-send-email-jiapeng.chong@linux.alibaba.com
1 parent b354498 commit 7455ced

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -316,11 +316,6 @@ static inline u32 dsi_read(struct dw_mipi_dsi_rockchip *dsi, u32 reg)
316316
return readl(dsi->base + reg);
317317
}
318318

319-
static inline void dsi_set(struct dw_mipi_dsi_rockchip *dsi, u32 reg, u32 mask)
320-
{
321-
dsi_write(dsi, reg, dsi_read(dsi, reg) | mask);
322-
}
323-
324319
static inline void dsi_update_bits(struct dw_mipi_dsi_rockchip *dsi, u32 reg,
325320
u32 mask, u32 val)
326321
{

0 commit comments

Comments
 (0)