Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb umass_scsipi_sense_cb(): don't set XS_STS_DONE i...



details:   https://anonhg.NetBSD.org/src/rev/dd30c761aff0
branches:  trunk
changeset: 584532:dd30c761aff0
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Thu Sep 22 22:39:37 2005 +0000

description:
umass_scsipi_sense_cb(): don't set XS_STS_DONE in xs->xs_status;
scsipi_done() will do that.

diffstat:

 sys/dev/usb/umass_scsipi.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r c433c63a8652 -r dd30c761aff0 sys/dev/usb/umass_scsipi.c
--- a/sys/dev/usb/umass_scsipi.c        Thu Sep 22 19:34:58 2005 +0000
+++ b/sys/dev/usb/umass_scsipi.c        Thu Sep 22 22:39:37 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass_scsipi.c,v 1.25 2005/07/07 17:27:37 drochner Exp $       */
+/*     $NetBSD: umass_scsipi.c,v 1.26 2005/09/22 22:39:37 nathanw Exp $        */
 
 /*
  * Copyright (c) 2001, 2003 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.25 2005/07/07 17:27:37 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.26 2005/09/22 22:39:37 nathanw Exp $");
 
 #include "atapibus.h"
 #include "scsibus.h"
@@ -488,8 +488,6 @@
                break;
        }
 
-       xs->xs_status |= XS_STS_DONE;
-
        DPRINTF(UDMASS_CMD,("umass_scsipi_sense_cb: return xs->error=%d, "
                "xs->xs_status=0x%x xs->resid=%d\n", xs->error, xs->xs_status,
                xs->resid));



Home | Main Index | Thread Index | Old Index