From: Geert Uytterhoeven Date: Wed, 2 May 2007 12:48:34 +0000 (+0200) Subject: ps3fb: kill superfluous zero initializations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd685ac8e78b9bfd4a0145be22a7ff11ab11adef;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ps3fb: kill superfluous zero initializations ps3fb: kill superfluous zero initializations Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c index dd6dd6e222d7..f7f228d1c2d9 100644 --- a/drivers/video/ps3fb.c +++ b/drivers/video/ps3fb.c @@ -297,10 +297,10 @@ static const struct fb_videomode ps3fb_modedb[] = { #define VP_OFF(i) (WIDTH(i) * Y_OFF(i) * BPP + X_OFF(i) * BPP) #define FB_OFF(i) (GPU_OFFSET - VP_OFF(i) % GPU_OFFSET) -static int ps3fb_mode = 0; +static int ps3fb_mode; module_param(ps3fb_mode, bool, 0); -static char *mode_option __initdata = NULL; +static char *mode_option __initdata; static int ps3fb_get_res_table(u32 xres, u32 yres)