[PATCH v2 091/101] fbdev/vermilion: Remove unused option string

From: Thomas Zimmermann
Date: Thu Mar 09 2023 - 11:11:37 EST


The option string is unused. Remove the variable. No functional
changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
---
drivers/video/fbdev/vermilion/vermilion.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/video/fbdev/vermilion/vermilion.c b/drivers/video/fbdev/vermilion/vermilion.c
index 0374ee6b6d03..bea318504475 100644
--- a/drivers/video/fbdev/vermilion/vermilion.c
+++ b/drivers/video/fbdev/vermilion/vermilion.c
@@ -1056,16 +1056,11 @@ static void __exit vmlfb_cleanup(void)

static int __init vmlfb_init(void)
{
-
-#ifndef MODULE
- char *option = NULL;
-#endif
-
if (fb_modesetting_disabled("vmlfb"))
return -ENODEV;

#ifndef MODULE
- if (fb_get_options(MODULE_NAME, &option))
+ if (fb_get_options(MODULE_NAME, NULL))
return -ENODEV;
#endif

--
2.39.2