Commit 2bb28892 authored by Linus Torvalds's avatar Linus Torvalds

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.
parent e920c3d5
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment