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

Commit 51d53bd3 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

[PATCH] video/matrox/matroxfb_misc.c: remove dead code



The Coverity checker spotted this dead code.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ca5ed2f5
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -192,11 +192,8 @@ int matroxfb_vgaHWinit(WPMINFO struct my_timming* m) {
	unsigned int wd;
	unsigned int divider;
	int i;
	int fwidth;
	struct matrox_hw_state * const hw = &ACCESS_FBINFO(hw);

	fwidth = 8;

	DBG(__FUNCTION__)

	hw->SEQ[0] = 0x00;
@@ -235,9 +232,6 @@ int matroxfb_vgaHWinit(WPMINFO struct my_timming* m) {
	hw->ATTR[16] = 0x41;
	hw->ATTR[17] = 0xFF;
	hw->ATTR[18] = 0x0F;
	if (fwidth == 9)
		hw->ATTR[19] = 0x08;
	else
	hw->ATTR[19] = 0x00;
	hw->ATTR[20] = 0x00;