summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/nvidia
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2019-07-10 21:16:26 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-07-23 18:16:48 +0300
commit9b9f35e7c6594b109ee4d70c3fd19a82ff88e8a6 (patch)
tree1d15b15d2d447eb311d334c1731754c2e24f8f46 /drivers/video/fbdev/nvidia
parentb519294ee13aee030d6defd009998c84060ab205 (diff)
downloadlinux-9b9f35e7c6594b109ee4d70c3fd19a82ff88e8a6.tar.xz
video: fbdev: nvidia: Remove dead code
This is dead code since 3.15. If there is no plan to use it further, this can be removed forever. Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Cc: Antonino Daplas <adaplas@gmail.com> Cc: Sabyasachi Gupta <sabyasachi.linux@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/1562782586-3994-1-git-send-email-jrdr.linux@gmail.com
Diffstat (limited to 'drivers/video/fbdev/nvidia')
-rw-r--r--drivers/video/fbdev/nvidia/nv_setup.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/video/fbdev/nvidia/nv_setup.c b/drivers/video/fbdev/nvidia/nv_setup.c
index b17acd290360..2fa68669613a 100644
--- a/drivers/video/fbdev/nvidia/nv_setup.c
+++ b/drivers/video/fbdev/nvidia/nv_setup.c
@@ -119,34 +119,10 @@ u8 NVReadMiscOut(struct nvidia_par *par)
{
return (VGA_RD08(par->PVIO, VGA_MIS_R));
}
-#if 0
-void NVEnablePalette(struct nvidia_par *par)
-{
- volatile u8 tmp;
-
- tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a);
- VGA_WR08(par->PCIO, VGA_ATT_IW, 0x00);
- par->paletteEnabled = 1;
-}
-void NVDisablePalette(struct nvidia_par *par)
-{
- volatile u8 tmp;
-
- tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a);
- VGA_WR08(par->PCIO, VGA_ATT_IW, 0x20);
- par->paletteEnabled = 0;
-}
-#endif /* 0 */
void NVWriteDacMask(struct nvidia_par *par, u8 value)
{
VGA_WR08(par->PDIO, VGA_PEL_MSK, value);
}
-#if 0
-u8 NVReadDacMask(struct nvidia_par *par)
-{
- return (VGA_RD08(par->PDIO, VGA_PEL_MSK));
-}
-#endif /* 0 */
void NVWriteDacReadAddr(struct nvidia_par *par, u8 value)
{
VGA_WR08(par->PDIO, VGA_PEL_IR, value);