aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-06-25 17:59:08 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 19:25:04 -0400
commit67da54cf5d577c9dda835d0cf42379657d15d6c9 (patch)
tree027e3db6e825fb7d16dce58034108eeebee31201 /drivers
parentdb407163773a8447dd869ee98348e05c81b4c337 (diff)
[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 <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/matrox/matroxfb_misc.c5
1 files changed, 1 insertions, 4 deletions
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) {
197 DBG(__FUNCTION__) 197 DBG(__FUNCTION__)
198 198
199 hw->SEQ[0] = 0x00; 199 hw->SEQ[0] = 0x00;
200 if (fwidth == 9) 200 hw->SEQ[1] = 0x01; /* or 0x09 */
201 hw->SEQ[1] = 0x00;
202 else
203 hw->SEQ[1] = 0x01; /* or 0x09 */
204 hw->SEQ[2] = 0x0F; /* bitplanes */ 201 hw->SEQ[2] = 0x0F; /* bitplanes */
205 hw->SEQ[3] = 0x00; 202 hw->SEQ[3] = 0x00;
206 hw->SEQ[4] = 0x0E; 203 hw->SEQ[4] = 0x0E;