From: Andrew Morton Cc: Antonino Daplas Cc: Geert Uytterhoeven Signed-off-by: Andrew Morton --- drivers/video/fbmon.c | 2 -- 1 files changed, 2 deletions(-) diff -puN drivers/video/fbmon.c~fbdev-fb_create_modedb-non-static-int-first-=-1-fix drivers/video/fbmon.c --- a/drivers/video/fbmon.c~fbdev-fb_create_modedb-non-static-int-first-=-1-fix +++ a/drivers/video/fbmon.c @@ -593,8 +593,6 @@ static struct fb_videomode *fb_create_mo unsigned char *block; int num = 0, i, first = 1; -; - mode = kzalloc(50 * sizeof(struct fb_videomode), GFP_KERNEL); if (mode == NULL) return NULL; _