Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Removed duplicated lines introduced in version 1.36.



details:   https://anonhg.NetBSD.org/src/rev/0c07d0eb71c4
branches:  trunk
changeset: 790153:0c07d0eb71c4
user:      adam <adam%NetBSD.org@localhost>
date:      Sun Sep 22 09:21:56 2013 +0000

description:
Removed duplicated lines introduced in version 1.36.

diffstat:

 sys/dev/ic/sl811hs.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r 72f1ad76aedd -r 0c07d0eb71c4 sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c      Sun Sep 22 08:30:22 2013 +0000
+++ b/sys/dev/ic/sl811hs.c      Sun Sep 22 09:21:56 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sl811hs.c,v 1.37 2013/09/22 06:54:35 skrll Exp $       */
+/*     $NetBSD: sl811hs.c,v 1.38 2013/09/22 09:21:56 adam Exp $        */
 
 /*
  * Not (c) 2007 Matthew Orgass
@@ -85,7 +85,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.37 2013/09/22 06:54:35 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.38 2013/09/22 09:21:56 adam Exp $");
 
 #include "opt_slhci.h"
 
@@ -2326,12 +2326,6 @@
                    PT_ROOT_INTR, sc, spipe, NULL, return);
 
                /* Check that this transfer can fit in the remaining memory. */
-               spipe, t))) {
-               LK_SLASSERT(spipe->xfer != NULL, sc, spipe, NULL, return);
-               LK_SLASSERT(spipe->ptype != PT_ROOT_CTRL && spipe->ptype !=
-                   PT_ROOT_INTR, sc, spipe, NULL, return);
-
-               /* Check that this transfer can fit in the remaining memory. */
                if (t->len[A] + t->len[B] + spipe->tregs[LEN] + 1 >
                    SL11_MAX_PACKET_SIZE) {
                        DLOG(D_XFER, "Transfer does not fit. alen %d blen %d "



Home | Main Index | Thread Index | Old Index