Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi don't initialize tfd twice.
details: https://anonhg.NetBSD.org/src/rev/3cfb91658681
branches: trunk
changeset: 356720:3cfb91658681
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 08 21:33:38 2017 +0000
description:
don't initialize tfd twice.
diffstat:
sys/dev/scsipi/atapi_wdc.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 41e771d7b733 -r 3cfb91658681 sys/dev/scsipi/atapi_wdc.c
--- a/sys/dev/scsipi/atapi_wdc.c Sun Oct 08 21:29:34 2017 +0000
+++ b/sys/dev/scsipi/atapi_wdc.c Sun Oct 08 21:33:38 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atapi_wdc.c,v 1.126 2017/10/08 21:29:34 christos Exp $ */
+/* $NetBSD: atapi_wdc.c,v 1.127 2017/10/08 21:33:38 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.126 2017/10/08 21:29:34 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atapi_wdc.c,v 1.127 2017/10/08 21:33:38 christos Exp $");
#ifndef ATADEBUG
#define ATADEBUG
@@ -1079,8 +1079,8 @@
}
return;
}
- } else
- tfd = 0;
+ }
+
/*
* Some drive occasionally set WDCS_ERR with
Home |
Main Index |
Thread Index |
Old Index