]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: xgifb: delete unused register I/O functions
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 18 Apr 2011 19:14:04 +0000 (22:14 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Apr 2011 00:26:27 +0000 (17:26 -0700)
Delete unused register I/O functions.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_main.h
drivers/staging/xgifb/XGI_main_26.c

index 560e2de80efadfe0e6f9f78eb548eed968d72638..c9764a75a03ed44720c24d63f1d8796eb0d4fb5e 100644 (file)
@@ -698,10 +698,6 @@ static int      XGIfb_do_set_var(struct fb_var_screeninfo *var, int isactive,
 static void     XGIfb_pre_setmode(void);
 static void     XGIfb_post_setmode(void);
 
-/* Internal hardware access routines */
-void            XGIfb_set_reg4(u16 port, unsigned long data);
-u32             XGIfb_get_reg3(u16 port);
-
 /* Chipset-dependent internal routines */
 
 
index 3112a2502873b0eb5bff4c41ad1e594aa41a3e49..8de6829b415a9e1ae8bd57baba5b7c56f26276bf 100644 (file)
@@ -385,19 +385,6 @@ static void XGIRegInit(struct vb_device_info *XGI_Pr, unsigned long BaseAddr)
 
 }
 
-void XGIfb_set_reg4(u16 port, unsigned long data)
-{
-       outl((u32)(data & 0xffffffff), port);
-}
-
-u32 XGIfb_get_reg3(u16 port)
-{
-       u32 data;
-
-       data = inl(port);
-       return data;
-}
-
 /* ------------ Interface for init & mode switching code ------------- */
 
 unsigned char XGIfb_query_VGA_config_space(