]> Zhao Yanbai Git Server - minix.git/commitdiff
throw out unnecessary drive1 thing
authorBen Gras <ben@minix3.org>
Mon, 19 Oct 2009 15:45:43 +0000 (15:45 +0000)
committerBen Gras <ben@minix3.org>
Mon, 19 Oct 2009 15:45:43 +0000 (15:45 +0000)
drivers/at_wini/at_wini.c

index 684078bd06b40e1e8e50c7964c3631b34737dd45..4594030563d97be0236e56994622caf23d67761c 100644 (file)
@@ -880,10 +880,6 @@ check_dma(struct wini *wn)
        u32_t dma_base;
        int id_dma, ultra_dma;
        u16_t w;
-       int driveno, drive1;
-
-       driveno = wn - wini;
-       drive1 = driveno % 2;
 
        wn->dma= 0;