git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c6f22c
)
DSS2: FB: remove unused var warning
author
Imre Deak
<imre.deak@nokia.com>
Mon, 6 Apr 2009 20:26:04 +0000
(22:26 +0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Fri, 1 May 2009 16:45:02 +0000
(19:45 +0300)
Signed-off-by: Imre Deak <imre.deak@nokia.com>
drivers/video/omap2/omapfb/omapfb-main.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap2/omapfb/omapfb-main.c
b/drivers/video/omap2/omapfb/omapfb-main.c
index
afe40a9
..
12ce0c3
100644
(file)
--- a/
drivers/video/omap2/omapfb/omapfb-main.c
+++ b/
drivers/video/omap2/omapfb/omapfb-main.c
@@
-1246,7
+1246,9
@@
static int omapfb_alloc_fbmem_display(struct fb_info *fbi, unsigned long size,
display->get_resolution(display, &w, &h);
if (ofbi->rotation_type == OMAPFB_ROT_VRFB) {
+#ifdef DEBUG
int oldw = w, oldh = h;
+#endif
omap_vrfb_adjust_size(&w, &h, bytespp);