[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230309160201.5163-4-tzimmermann@suse.de>
Date: Thu, 9 Mar 2023 17:00:23 +0100
From: Thomas Zimmermann <tzimmermann@...e.de>
To: deller@....de, geert+renesas@...der.be, timur@...nel.org,
rdunlap@...radead.org, paulus@...ba.org, benh@...nel.crashing.org,
linux@...linux.org.uk, pjones@...hat.com, adaplas@...il.com,
s.hauer@...gutronix.de, shawnguo@...nel.org, mbroemme@...mpq.org,
thomas@...ischhofer.net, James.Bottomley@...senPartnership.com,
sudipm.mukherjee@...il.com, teddy.wang@...iconmotion.com,
corbet@....net
Cc: linux-fbdev@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
Thomas Zimmermann <tzimmermann@...e.de>
Subject: [PATCH v2 003/101] fbdev/68328fb: Remove unused option string
The option string is unused. Remove the variable and a related
helper function. No functional change.
Signed-off-by: Thomas Zimmermann <tzimmermann@...e.de>
---
drivers/video/fbdev/68328fb.c | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/drivers/video/fbdev/68328fb.c b/drivers/video/fbdev/68328fb.c
index 7fe56ecbe4e6..f2d70df4104b 100644
--- a/drivers/video/fbdev/68328fb.c
+++ b/drivers/video/fbdev/68328fb.c
@@ -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
--
2.39.2
Powered by blists - more mailing lists