initialize tfd

This commit is contained in:
christos 2017-10-08 21:29:34 +00:00
parent efda439fbd
commit 11d6f11f63
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: atapi_wdc.c,v 1.125 2017/10/08 21:18:14 joerg Exp $ */
/* $NetBSD: atapi_wdc.c,v 1.126 2017/10/08 21:29:34 christos Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer.
@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: atapi_wdc.c,v 1.125 2017/10/08 21:18:14 joerg Exp $");
__KERNEL_RCSID(0, "$NetBSD: atapi_wdc.c,v 1.126 2017/10/08 21:29:34 christos Exp $");
#ifndef ATADEBUG
#define ATADEBUG
@ -1079,7 +1079,8 @@ wdc_atapi_phase_complete(struct ata_xfer *xfer)
}
return;
}
}
} else
tfd = 0;
/*
* Some drive occasionally set WDCS_ERR with