[PATCH] Serverworks IDE driver: minor cleanups

From: Andrey Panin (pazke@orbita1.ru)
Date: Tue May 28 2002 - 01:11:11 EST


Hi,

this patch contains some minor cleanups for Serverworks IDE driver:
        - udma_modes[] array in svwks_tune_chipset() function is
          meaningless (lists 0,1,2,3,4,5). Removed;
        - same function, variable drive_pci2 == drive_pci + 4, no
          need to assign it in the switch statement;
        - removed some unneeded initializations of local vars;
        - svwks_proc variable moved into #ifdef DISPLAY_SVWKS_TIMING
          where it must live.

Compiles, but untested. Please consider applyiing.

-- 
Andrey Panin            | Embedded systems software engineer
pazke@orbita1.ru        | PGP key: wwwkeys.eu.pgp.net



- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:21 EST