[PATCH]atyfb:remove unused variable ‘pwr_command’

Subsystems: framebuffer layer, the rest

STALE6380d

2 messages, 1 author, 2009-02-20 · open the first message on its own page

[PATCH]atyfb:remove unused variable ‘pwr_command’

From: Yang Hongyang <hidden>
Date: 2009-02-13 09:33:15

remove  unused variable ‘pwr_command’ 

Signed-off-by: Yang Hongyang<redacted>

---
 drivers/video/aty/aty128fb.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/video/aty/aty128fb.c b/drivers/video/aty/aty128fb.c
index e6e299f..2181ce4 100644
--- a/drivers/video/aty/aty128fb.c
+++ b/drivers/video/aty/aty128fb.c
@@ -2365,7 +2365,6 @@ static void fbcon_aty128_bmove(struct display *p, int sy, int sx, int dy, int dx
 static void aty128_set_suspend(struct aty128fb_par *par, int suspend)
 {
 	u32	pmgt;
-	u16	pwr_command;
 	struct pci_dev *pdev = par->pdev;
 
 	if (!par->pm_reg)
-- 
1.6.0.3

-- 
Regards
Yang Hongyang

Re: [PATCH]atyfb:remove unused variable ‘pwr_command’

From: Yang Hongyang <hidden>
Date: 2009-02-20 02:27:53

+CC:brad@neruo.com
+CC:Andrew Morton [off-list ref]

Yang Hongyang wrote:
quoted hunk
remove  unused variable ‘pwr_command’ 

Signed-off-by: Yang Hongyang<redacted>

---
 drivers/video/aty/aty128fb.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/video/aty/aty128fb.c b/drivers/video/aty/aty128fb.c
index e6e299f..2181ce4 100644
--- a/drivers/video/aty/aty128fb.c
+++ b/drivers/video/aty/aty128fb.c
@@ -2365,7 +2365,6 @@ static void fbcon_aty128_bmove(struct display *p, int sy, int sx, int dy, int dx
 static void aty128_set_suspend(struct aty128fb_par *par, int suspend)
 {
 	u32	pmgt;
-	u16	pwr_command;
 	struct pci_dev *pdev = par->pdev;
 
 	if (!par->pm_reg)

-- 
Regards
Yang Hongyang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help