@@ -400,13 +400,6 @@ static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma)
#endif
}
-static int __init mc68x328fb_setup(char *options)
-{
- if (!options || !*options)
- return 1;
- return 1;
-}
-
/*
* Initialisation
*/
@@ -414,11 +407,8 @@ static int __init mc68x328fb_setup(char *options)
static int __init mc68x328fb_init(void)
{
#ifndef MODULE
- char *option = NULL;
-
- if (fb_get_options("68328fb", &option))
+ if (fb_get_options("68328fb", NULL))
return -ENODEV;
- mc68x328fb_setup(option);
#endif
/*
* initialize the default mode from the LCD controller registers
The option string is unused. Remove the variable and a related helper function. No functional change. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> --- drivers/video/fbdev/68328fb.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-)