From: Adrian Bunk The Coverity checker spotted this dead code. Signed-off-by: Adrian Bunk Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton --- drivers/video/matrox/matroxfb_misc.c | 8 +------- 1 files changed, 1 insertion(+), 7 deletions(-) diff -puN drivers/video/matrox/matroxfb_misc.c~video-matrox-matroxfb_miscc-remove-dead-code drivers/video/matrox/matroxfb_misc.c --- devel/drivers/video/matrox/matroxfb_misc.c~video-matrox-matroxfb_miscc-remove-dead-code 2005-12-12 19:11:30.000000000 -0800 +++ devel-akpm/drivers/video/matrox/matroxfb_misc.c 2005-12-12 19:11:30.000000000 -0800 @@ -191,11 +191,8 @@ int matroxfb_vgaHWinit(WPMINFO struct my 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; @@ -234,10 +231,7 @@ int matroxfb_vgaHWinit(WPMINFO struct my 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[19] = 0x00; hw->ATTR[20] = 0x00; hd = m->HDisplay >> 3; _