aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2019-09-02 18:19:04 +0530
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2020-01-03 14:27:43 +0100
commiteaa051a0ca349a725a277ee9cec42ea751e4d57d (patch)
tree7e3a656775111d64270cd3e540ee15213ac17c2a /drivers/video/fbdev
parentpxa168fb: Fix the function used to release some memory in an error handling path (diff)
downloadlinux-dev-eaa051a0ca349a725a277ee9cec42ea751e4d57d.tar.xz
linux-dev-eaa051a0ca349a725a277ee9cec42ea751e4d57d.zip
video/fbdev/68328fb: Remove dead code
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
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/68328fb.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/video/fbdev/68328fb.c b/drivers/video/fbdev/68328fb.c
index 491fd5a82993..9811f1bad8d4 100644
--- a/drivers/video/fbdev/68328fb.c
+++ b/drivers/video/fbdev/68328fb.c
@@ -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;
}