drivers/video/geode/lxfb_core.c: cleanups
PATCH 1/1 drivers/video/geode/lxfb_core.c: cleanups
This pacth contains the following cleanups:
- make the needlessly global geode_modedb[] static
- lxfb_setup(): remove an unused variable
Signed-off-by Adrian Bunk <[email protected]>
---
drivers/video/geode/lxfb_core.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
6ff33bdabb002b71b60258da40b3021b0d0a1ee2
drivers/video/geode/lxfb_core.c +1 -3
@@ -34,7 +34,7 @@ static int fbsize;* we try to make it something sane - 640x480-60 is sane */ -const struct fb_videomode geode_modedb[]__initdata = { +static const struct fb_videomode geode_modedb[]__initdata = {/* 640x480-60 */ {NULL ,60 ,640 ,480 ,39682 ,48 ,8 ,25 ,2 ,88 ,2 ,FB_SYNC_HOR_HIGH_ACT |FB_SYNC_VERT_HIGH_ACT ,
@@ -561,8 +561,6 @@ static struct pci_driver lxfb_driver = {#ifndef MODULE static int __init lxfb_setup (char *options) { -char *opt; -if (!options || !*options)return 0 ;
<quote sender="Adrian Bunk">
Quoted 3 lines
This pacth contains the following cleanups:
- make the needlessly global geode_modedb[] static
-lxfb_setup(): remove an unused variable
I have submitted a patch for the 2nd cleanup:
http://marc.info/?l=linux-mm-commits&m=118616305111463&w=2
Thanks,
Eugene