Fix misspellings collected by members of KJ list.
[deliverable/linux.git] / drivers / video / matrox / matroxfb_misc.c
index d9d3e9f6c08e245d54c8cf0621b340e03708fcc3..5948e54b9ef9ceb68e2914a30f7600667c771569 100644 (file)
  *     (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de>
  *
  * (following author is not in any relation with this code, but his ideas
- *  were used when writting this driver)
+ *  were used when writing this driver)
  *
  *              FreeVBE/AF (Matrox), "Shawn Hargreaves" <shawn@talula.demon.co.uk>
  *
  */
 
-/* make checkconfig does not check includes for this... */
-#include <linux/config.h>
 
 #include "matroxfb_misc.h"
 #include <linux/interrupt.h>
@@ -192,11 +190,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,10 +230,7 @@ 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[19] = 0x00;
        hw->ATTR[20] = 0x00;
 
        hd = m->HDisplay >> 3;
This page took 0.062411 seconds and 5 git commands to generate.