summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdc
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1999-07-29 11:27:33 +0000
committerjoerg <joerg@FreeBSD.org>1999-07-29 11:27:33 +0000
commit8b7dc7c5cff231998de3268e8f1f566373c07e2f (patch)
treebd4411df16936828d2c3feb837d745eb4ff2a16b /sys/dev/fdc
parentd291b1f656f92ec4b3584a876526262eb40a9a4e (diff)
downloadFreeBSD-src-8b7dc7c5cff231998de3268e8f1f566373c07e2f.zip
FreeBSD-src-8b7dc7c5cff231998de3268e8f1f566373c07e2f.tar.gz
Revert rev 1.149. Bruce convinced me that the problem already disappeared
by the fix in rev 1.120, which i wasn't immediately aware of.
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index eaa5b0f..43b0274 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.149 1999/07/21 12:19:44 joerg Exp $
+ * $Id: fd.c,v 1.150 1999/07/29 01:02:55 mdodd Exp $
*
*/
@@ -2132,9 +2132,6 @@ retrier(struct fdc_data *fdc)
fail:
{
dev_t sav_b_dev = bp->b_dev;
-
- if (fdc->fd == 0)
- goto bogus;
/* Trick diskerr */
bp->b_dev = makedev(major(bp->b_dev),
(FDUNIT(minor(bp->b_dev))<<3)|RAW_PART);
@@ -2168,7 +2165,6 @@ retrier(struct fdc_data *fdc)
DEVSTAT_WRITE);
fdc->fd->skip = 0;
biodone(bp);
- bogus:
fdc->state = FINDWORK;
fdc->flags |= FDC_NEEDS_RESET;
fdc->fd = (fd_p) 0;
OpenPOWER on IntegriCloud