[RFC: 2.6 patch] drivers/video/: remove unused exports

STALE7478d

2 messages, 2 authors, 2006-05-01 · open the first message on its own page

[RFC: 2.6 patch] drivers/video/: remove unused exports

From: Adrian Bunk <hidden>
Date: 2006-05-01 07:12:10

This patch removes the following unused EXPORT_SYMBOL's:
- fbcvt.c: fb_find_mode_cvt
- fbmem.c: fb_con_duit
- fbmem.c: fb_new_modelist
- macmodes.c: mac_var_to_vmode
- modedb.c: fb_delete_videomode
- modedb.c: fb_destroy_modelist

Signed-off-by: Adrian Bunk <redacted>

---

This patch was already sent on:
- 11 Apr 2006

 drivers/video/fbcvt.c    |    1 -
 drivers/video/fbmem.c    |    2 --
 drivers/video/macmodes.c |    1 -
 drivers/video/modedb.c   |    2 --
 4 files changed, 6 deletions(-)
--- linux-2.6.17-rc1-mm2-full/drivers/video/fbcvt.c.old	2006-04-10 23:19:00.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/fbcvt.c	2006-04-10 23:19:08.000000000 +0200
@@ -376,4 +376,3 @@
 
 	return 0;
 }
-EXPORT_SYMBOL(fb_find_mode_cvt);
--- linux-2.6.17-rc1-mm2-full/drivers/video/fbmem.c.old	2006-04-10 23:19:35.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/fbmem.c	2006-04-10 23:19:54.000000000 +0200
@@ -1500,7 +1500,6 @@
 
 	return blocking_notifier_call_chain(&fb_notifier_list, event, &evnt);
 }
-EXPORT_SYMBOL(fb_con_duit);
 
 static char *video_options[FB_MAX];
 static int ofonly;
@@ -1611,6 +1610,5 @@
 EXPORT_SYMBOL(fb_register_client);
 EXPORT_SYMBOL(fb_unregister_client);
 EXPORT_SYMBOL(fb_get_options);
-EXPORT_SYMBOL(fb_new_modelist);
 
 MODULE_LICENSE("GPL");
--- linux-2.6.17-rc1-mm2-full/drivers/video/macmodes.c.old	2006-04-10 23:21:51.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/macmodes.c	2006-04-10 23:21:59.000000000 +0200
@@ -327,7 +327,6 @@
     }
     return -EINVAL;
 }
-EXPORT_SYMBOL(mac_var_to_vmode);
 
 /**
  *	mac_map_monitor_sense - Convert monitor sense to vmode
--- linux-2.6.17-rc1-mm2-full/drivers/video/modedb.c.old	2006-04-10 23:23:12.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/modedb.c	2006-04-10 23:23:30.000000000 +0200
@@ -1016,8 +1016,6 @@
 EXPORT_SYMBOL(fb_var_to_videomode);
 EXPORT_SYMBOL(fb_mode_is_equal);
 EXPORT_SYMBOL(fb_add_videomode);
-EXPORT_SYMBOL(fb_delete_videomode);
-EXPORT_SYMBOL(fb_destroy_modelist);
 EXPORT_SYMBOL(fb_match_mode);
 EXPORT_SYMBOL(fb_find_best_mode);
 EXPORT_SYMBOL(fb_find_nearest_mode);




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Re: [RFC: 2.6 patch] drivers/video/: remove unused exports

From: Antonino A. Daplas <hidden>
Date: 2006-05-01 08:03:09

Adrian Bunk wrote:
This patch removes the following unused EXPORT_SYMBOL's:
- fbcvt.c: fb_find_mode_cvt
- fbmem.c: fb_con_duit
- fbmem.c: fb_new_modelist
- macmodes.c: mac_var_to_vmode
mac_var_to_vmode is used by valkyriefb, platinumfb and
controlfb, but they cannot be compiled as modules, so
yes, no need to export this.
- modedb.c: fb_delete_videomode
- modedb.c: fb_destroy_modelist
These are meant to be used by other modules, but okay,
we'll just do the exporting later as needed.
Signed-off-by: Adrian Bunk <redacted>
Acked-by: Antonino Daplas <redacted>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help