Skip to content

Commit eec5190

Browse files
Jiapeng Chonghdeller
authored andcommitted
fbdev: tridentfb: Remove the unused function shadowmode_off()
The function shadowmode_off() is defined in the tridentfb.c file, but not called elsewhere, so delete this unused function. drivers/video/fbdev/tridentfb.c:1131:20: warning: unused function 'shadowmode_off'. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2154 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 83434cc commit eec5190

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/video/fbdev/tridentfb.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,11 +1128,6 @@ static inline void shadowmode_on(struct tridentfb_par *par)
11281128
write3CE(par, CyberControl, read3CE(par, CyberControl) | 0x81);
11291129
}
11301130

1131-
static inline void shadowmode_off(struct tridentfb_par *par)
1132-
{
1133-
write3CE(par, CyberControl, read3CE(par, CyberControl) & 0x7E);
1134-
}
1135-
11361131
/* Set the hardware to the requested video mode */
11371132
static int tridentfb_set_par(struct fb_info *info)
11381133
{

0 commit comments

Comments
 (0)