* [PATCH 2/3] Static should not be initialize so removing static initialization from efifb.c
@ 2015-02-18 8:33 Parmeshwr Prasad
2015-02-26 10:45 ` [PATCH 2/3] Static should not be initialize so removing static initilization " Parmeshwr Prasad
0 siblings, 1 reply; 2+ messages in thread
From: Parmeshwr Prasad @ 2015-02-18 8:33 UTC (permalink / raw)
To: pjones, plagnioj, tomi.valkeinen; +Cc: linux-kernel, linux-fbdev
This patch depend on my earlier patch.
Static should not be initialize so removing initialization.
Signed-off-by: Parmeshwr Prasad <parmeshwr_prasad@dell.com>
---
drivers/video/fbdev/efifb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c
index facfbb3..cc1a156 100644
--- a/drivers/video/fbdev/efifb.c
+++ b/drivers/video/fbdev/efifb.c
@@ -17,7 +17,7 @@
#include <video/vga.h>
#include <asm/sysfb.h>
-static bool request_mem_succeeded = false;
+static bool request_mem_succeeded;
static struct fb_var_screeninfo efifb_defined = {
.activate = FB_ACTIVATE_NOW,
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/3] Static should not be initialize so removing static initilization from efifb.c
2015-02-18 8:33 [PATCH 2/3] Static should not be initialize so removing static initialization from efifb.c Parmeshwr Prasad
@ 2015-02-26 10:45 ` Parmeshwr Prasad
0 siblings, 0 replies; 2+ messages in thread
From: Parmeshwr Prasad @ 2015-02-26 10:45 UTC (permalink / raw)
To: pjones-H+wXaHxf7aLQT0dZR+AlfA
Cc: plagnioj-sclMFOaUSTBWk0Htik3J/w, tomi.valkeinen-l0cyMroinI0,
linux-fbdev-u79uwXL29TY76Z2rM5mHXA,
linux-efi-u79uwXL29TY76Z2rM5mHXA
Static variables should not be initialized. So removing initialization of
static variable.
Signed-off-by: Parmeshwr Prasad <parmeshwr_prasad@dell.com>
---
drivers/video/fbdev/efifb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c
index facfbb3..cc1a156 100644
--- a/drivers/video/fbdev/efifb.c
+++ b/drivers/video/fbdev/efifb.c
@@ -17,7 +17,7 @@
#include <video/vga.h>
#include <asm/sysfb.h>
-static bool request_mem_succeeded = false;
+static bool request_mem_succeeded;
static struct fb_var_screeninfo efifb_defined = {
.activate = FB_ACTIVATE_NOW,
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-26 10:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-18 8:33 [PATCH 2/3] Static should not be initialize so removing static initialization from efifb.c Parmeshwr Prasad
2015-02-26 10:45 ` [PATCH 2/3] Static should not be initialize so removing static initilization " Parmeshwr Prasad
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).