Commit eec5190f authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Helge Deller

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=2154Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 83434cc0
...@@ -1128,11 +1128,6 @@ static inline void shadowmode_on(struct tridentfb_par *par) ...@@ -1128,11 +1128,6 @@ static inline void shadowmode_on(struct tridentfb_par *par)
write3CE(par, CyberControl, read3CE(par, CyberControl) | 0x81); write3CE(par, CyberControl, read3CE(par, CyberControl) | 0x81);
} }
static inline void shadowmode_off(struct tridentfb_par *par)
{
write3CE(par, CyberControl, read3CE(par, CyberControl) & 0x7E);
}
/* Set the hardware to the requested video mode */ /* Set the hardware to the requested video mode */
static int tridentfb_set_par(struct fb_info *info) static int tridentfb_set_par(struct fb_info *info)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment