[PATCH] unused vars in fbcon.c

James Manning (jmm@raleigh.ibm.com)
Fri, 12 Nov 1999 15:18:32 -0500


--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii

Minor unused vars in fbcon.c

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="fbcon.patch"

--- drivers/video/fbcon.c.orig Fri Nov 12 15:12:24 1999
+++ drivers/video/fbcon.c Fri Nov 12 15:13:19 1999
@@ -1948,12 +1948,17 @@
{
struct display *p = &fb_display[fg_console]; /* draw to vt in foreground */ int depth = p->var.bits_per_pixel;
- int line = p->next_line;
unsigned char *fb = p->screen_base;
unsigned char *logo;
- unsigned char *dst, *src;
- int i, j, n, x1, y1, x;
+ int i, j, n, x;
int logo_depth, done = 0;
+#if defined(CONFIG_FBCON_CFB16) || defined(CONFIG_FBCON_CFB24) || \
+ defined(CONFIG_FBCON_CFB32) || defined(CONFIG_FB_SBUS)
+ unsigned char *dst, *src;
+ int line = p->next_line;
+ int x1, y1;
+#endif

/* Return if the frame buffer is not mapped */
if (!fb)

--tKW2IUtsqtDRztdT--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/