From 39f4f48eb331e8deb40981a9aef3d79ec1960991 Mon Sep 17 00:00:00 2001 From: Devendra Naga Date: Mon, 29 Apr 2013 15:05:31 -0700 Subject: [PATCH] --- yaml --- r: 365326 b: refs/heads/master c: 6cd472d3d2a9cace26eae924fe95ec21dc4a0502 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/video/console/fbcon_cw.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 3ceb2334623b..1589aa5c327e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 86fa05e00eeefbda50e3ed6dd0a915e24964526b +refs/heads/master: 6cd472d3d2a9cace26eae924fe95ec21dc4a0502 diff --git a/trunk/drivers/video/console/fbcon_cw.c b/trunk/drivers/video/console/fbcon_cw.c index 6a737827beb1..a93670ef7f89 100644 --- a/trunk/drivers/video/console/fbcon_cw.c +++ b/trunk/drivers/video/console/fbcon_cw.c @@ -27,7 +27,7 @@ static void cw_update_attr(u8 *dst, u8 *src, int attribute, { int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; int width = (vc->vc_font.height + 7) >> 3; - u8 c, t = 0, msk = ~(0xff >> offset); + u8 c, msk = ~(0xff >> offset); for (i = 0; i < vc->vc_font.width; i++) { for (j = 0; j < width; j++) { @@ -40,7 +40,6 @@ static void cw_update_attr(u8 *dst, u8 *src, int attribute, c = ~c; src++; *dst++ = c; - t = c; } } }