summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1995-03-22 11:00:23 +0000
committerse <se@FreeBSD.org>1995-03-22 11:00:23 +0000
commit0a2856a018c830e6331101f404bca0cb8a56373d (patch)
treefaa1bd983013578c28b601eb12c8c29f31c81170 /sys/pci
parent0c8c121f2647e4c722f64141af1c413be4a65840 (diff)
downloadFreeBSD-src-0a2856a018c830e6331101f404bca0cb8a56373d.zip
FreeBSD-src-0a2856a018c830e6331101f404bca0cb8a56373d.tar.gz
Remove use of unitialised variable xp->req_sense_length.
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/ncr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 6e7c4f7..ab453d6 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.32 1995/03/17 04:27:18 davidg Exp $
+** $Id: ncr.c,v 1.33 1995/03/21 22:14:27 se Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -1217,7 +1217,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.32 1995/03/17 04:27:18 davidg Exp $\n";
+ "\n$Id: ncr.c,v 1.33 1995/03/21 22:14:27 se Exp $\n";
u_long ncr_version = NCR_VERSION
+ (u_long) sizeof (struct ncb)
@@ -3830,7 +3830,6 @@ static INT32 ncr_start (struct scsi_xfer * xp)
*/
cp->phys.sense.addr = vtophys (&cp->xfer->sense);
cp->phys.sense.size = sizeof(struct scsi_sense_data);
- cp->phys.sense.size = xp->req_sense_length; /*21.3.95*/
/*
** status
*/
OpenPOWER on IntegriCloud