From 2bb28892aa6768afee531ba5b1a9a4662362f4f8 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 23 Aug 2004 03:59:22 -0700 Subject: [PATCH] Remove pointless cast-as-lvalue usage from modedb.c It's evil, people. Don't use that particular gcc extension. I've yet to meet anybody who could read the resulting code and tell me what the heck it does. --- drivers/video/modedb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c index abb201db1e7fb..e67c4981915dd 100644 --- a/drivers/video/modedb.c +++ b/drivers/video/modedb.c @@ -583,7 +583,7 @@ void fb_var_to_videomode(struct fb_videomode *mode, { u32 pixclock, hfreq, htotal, vtotal; - (char *) mode->name = NULL; + mode->name = NULL; mode->xres = var->xres; mode->yres = var->yres; mode->pixclock = var->pixclock; -- 2.53.0