Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67da54cf authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

[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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent db407163
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -197,9 +197,6 @@ 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[2] = 0x0F;	/* bitplanes */
	hw->SEQ[3] = 0x00;