]> git.baikalelectronics.ru Git - kernel.git/commit
tgafb: remove a redundant non-mono test in mono imageblit
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 16 Oct 2007 08:29:57 +0000 (01:29 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:23 +0000 (09:43 -0700)
commit8b41c2d0ccb3e1c42eeba783dbe33cc6b9cb851e
tree653195a9a501f0633f28c72ab17b01eb73f0d6e2
parent2906cdfcdf641ea042d2f22d0dd5cfe309644135
tgafb: remove a redundant non-mono test in mono imageblit

There is a test in tgafb_mono_imageblit() for a colour image with a fall-back
to cfb_imageblit().  The test is not necessary as the only caller, which is
tgafb_imageblit(), checks it too and only invokes this function for monochrome
images.  It looks like a left-over from before some changes to
tgafb_imageblit().

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Antonino Daplas <adaplas@pol.net>
Cc: Jay Estabrook <Jay.Estabrook@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/tgafb.c