]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/console/fbcon_cw.c: fix compiler warning in cw_update_attr
authorDevendra Naga <devendra.aaru@gmail.com>
Mon, 29 Apr 2013 22:05:31 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2013 22:54:26 +0000 (15:54 -0700)
commit1bede38feef727486c05eff333f9e363fc5c505e
treeee098aad7f2d9c10a230b1b7e06e408229b18acb
parente6e85af8169ab67d3bd868e8456ad328de634dcf
drivers/video/console/fbcon_cw.c: fix compiler warning in cw_update_attr

With make W=1 we get

  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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/console/fbcon_cw.c