From: Adrian Bunk Date: Sat, 25 Jun 2005 21:59:08 +0000 (-0700) Subject: [PATCH] drivers/video/matrox/matroxfb_misc.c: remove dead code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=67da54cf5d577c9dda835d0cf42379657d15d6c9;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] drivers/video/matrox/matroxfb_misc.c: remove dead code This patch removes some obviously dead code found by the Coverity checker. This patch was already ACK'ed by Petr Vandrovec. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/matrox/matroxfb_misc.c b/drivers/video/matrox/matroxfb_misc.c index 76fd3a519b8a..a18dd024fc86 100644 --- a/drivers/video/matrox/matroxfb_misc.c +++ b/drivers/video/matrox/matroxfb_misc.c @@ -197,10 +197,7 @@ int matroxfb_vgaHWinit(WPMINFO struct my_timming* m) { DBG(__FUNCTION__) hw->SEQ[0] = 0x00; - if (fwidth == 9) - hw->SEQ[1] = 0x00; - else - hw->SEQ[1] = 0x01; /* or 0x09 */ + hw->SEQ[1] = 0x01; /* or 0x09 */ hw->SEQ[2] = 0x0F; /* bitplanes */ hw->SEQ[3] = 0x00; hw->SEQ[4] = 0x0E;