Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Remove dead code
details: https://anonhg.NetBSD.org/src/rev/db7da9a9b589
branches: trunk
changeset: 346189:db7da9a9b589
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Jun 30 16:34:56 2016 +0000
description:
Remove dead code
diffstat:
sys/dev/ic/sl811hs.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diffs (32 lines):
diff -r 50f5d8bbb8ab -r db7da9a9b589 sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c Thu Jun 30 15:34:30 2016 +0000
+++ b/sys/dev/ic/sl811hs.c Thu Jun 30 16:34:56 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sl811hs.c,v 1.86 2016/06/28 16:00:32 skrll Exp $ */
+/* $NetBSD: sl811hs.c,v 1.87 2016/06/30 16:34:56 skrll Exp $ */
/*
* Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.86 2016/06/28 16:00:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.87 2016/06/30 16:34:56 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_slhci.h"
@@ -2210,13 +2210,6 @@
LK_SLASSERT(xfer->ux_actlen <= xfer->ux_length, sc,
spipe, xfer, return);
xfer->ux_status = USBD_NORMAL_COMPLETION;
-#if 0 /* usb_transfer_complete will do this */
- if (xfer->ux_length == xfer->ux_actlen || xfer->ux_flags &
- USBD_SHORT_XFER_OK)
- xfer->ux_status = USBD_NORMAL_COMPLETION;
- else
- xfer->ux_status = USBD_SHORT_XFER;
-#endif
}
}
Home |
Main Index |
Thread Index |
Old Index