video/fbdev/68328fb: Remove dead code
authorSouptick Joarder <jrdr.linux@gmail.com>
Mon, 2 Sep 2019 12:49:04 +0000 (18:19 +0530)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 3 Jan 2020 13:27:43 +0000 (14:27 +0100)
This is dead code since 3.15. If their is no plan to
use it further, these can be removed forever.

Signed-off-by: Souptick Joarder <jrdr.linux@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/1567428544-8620-1-git-send-email-jrdr.linux@gmail.com
drivers/video/fbdev/68328fb.c

index 491fd5a..9811f1b 100644 (file)
@@ -405,20 +405,8 @@ static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma)
 
 int __init mc68x328fb_setup(char *options)
 {
-#if 0
-       char *this_opt;
-#endif
-
        if (!options || !*options)
                return 1;
-#if 0
-       while ((this_opt = strsep(&options, ",")) != NULL) {
-               if (!*this_opt)
-                       continue;
-               if (!strncmp(this_opt, "disable", 7))
-                       mc68x328fb_enable = 0;
-       }
-#endif
        return 1;
 }