diff options
| author | bouyer <bouyer@NetBSD.org> | 2000-03-25 21:37:51 +0000 |
|---|---|---|
| committer | bouyer <bouyer@NetBSD.org> | 2000-03-25 21:37:51 +0000 |
| commit | ff2eb3a5101d83bb49c7c8309d78f7c61efd91c9 (patch) | |
| tree | 109c4df54a2642826a0490733bbd3cd3b4a310c8 /sys/dev/ata | |
| parent | 8b9e435d472e6bcc52c646e002b3d8b363c1f602 (diff) | |
Remove unneeded assignement to nblks
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/ata_wdc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ata/ata_wdc.c b/sys/dev/ata/ata_wdc.c index 46a0385f2cc..fcda8ee68c0 100644 --- a/sys/dev/ata/ata_wdc.c +++ b/sys/dev/ata/ata_wdc.c @@ -1,4 +1,4 @@ -/* $NetBSD: ata_wdc.c,v 1.24 2000/03/23 07:01:27 thorpej Exp $ */ +/* $NetBSD: ata_wdc.c,v 1.25 2000/03/25 21:37:51 bouyer Exp $ */ /* * Copyright (c) 1998 Manuel Bouyer. @@ -287,7 +287,6 @@ again: ata_bio->nbytes = xfer->c_bcount; cmd = (ata_bio->flags & ATA_READ) ? WDCC_READDMA : WDCC_WRITEDMA; - nblks = ata_bio->nblks; /* Init the DMA channel. */ if ((*chp->wdc->dma_init)(chp->wdc->dma_arg, chp->channel, xfer->drive, |
