]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/console/fbcon_cw.c: fix compiler warning in cw_update_attr
authorDevendra Naga <devendra.aaru@gmail.com>
Tue, 26 Mar 2013 23:24:06 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:04:08 +0000 (17:04 +1100)
commit839015c010500993e8e0b8b0c83c424d94b2d49e
treea27891437548d1009f0299dc84d7cbf2e8cb78d8
parent5ce77eff6cced02fec7f8708ed8faeab62dc3b56
drivers/video/console/fbcon_cw.c: fix compiler warning in cw_update_attr

with make W=1

saw

drivers/video/console/fbcon_cw.c: In function `cw_update_attr':
drivers/video/console/fbcon_cw.c:30:8: warning: variable `t' set but not used [-Wunused-but-set-variable]

fixed by removing as since its used nowhere

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/console/fbcon_cw.c