From: Ben Gras Date: Mon, 19 Oct 2009 15:45:43 +0000 (+0000) Subject: throw out unnecessary drive1 thing X-Git-Tag: v3.1.5~9 X-Git-Url: http://zhaoyanbai.com/repos/pkcs11-tokens.html?a=commitdiff_plain;h=96b608c3f2ab4bf1b28b996856dbc0546f841966;p=minix.git throw out unnecessary drive1 thing --- diff --git a/drivers/at_wini/at_wini.c b/drivers/at_wini/at_wini.c index 684078bd0..459403056 100644 --- a/drivers/at_wini/at_wini.c +++ b/drivers/at_wini/at_wini.c @@ -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;