diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-09-12 11:14:05 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-09-12 11:14:05 +0000 |
commit | 19df77e4137aaf9261cf8b8f72e6bb66ea8fda77 (patch) | |
tree | 30c9d7d025c987d1a7485cbc3f7d7c5178712115 /sys/arch/mvme68k | |
parent | 8efa688f67e8149536c1a09aa34320c3bf9cf5cb (diff) |
SCSI_DATA_UIO is never used. Code which checks for it is either dead or
commented out, remove it. Unifdef TFS while there.
ok marco@ krw@
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/dev/sbic.c | 5 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/ssh.c | 6 |
2 files changed, 2 insertions, 9 deletions
diff --git a/sys/arch/mvme68k/dev/sbic.c b/sys/arch/mvme68k/dev/sbic.c index 5eefab96da7..2ce2cc1cf9a 100644 --- a/sys/arch/mvme68k/dev/sbic.c +++ b/sys/arch/mvme68k/dev/sbic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbic.c,v 1.19 2007/05/29 13:56:14 pyr Exp $ */ +/* $OpenBSD: sbic.c,v 1.20 2008/09/12 11:14:02 miod Exp $ */ /* $NetBSD: sbic.c,v 1.2 1996/04/23 16:32:54 chuck Exp $ */ /* @@ -364,9 +364,6 @@ sbic_scsicmd(xs) int flags = xs->flags, s; - if ( flags & SCSI_DATA_UIO ) - panic("sbic: scsi data uio requested"); - if ( dev->sc_nexus && (flags & SCSI_POLL) ) panic("sbic_scsicmd: busy"); diff --git a/sys/arch/mvme68k/dev/ssh.c b/sys/arch/mvme68k/dev/ssh.c index fd0ff46efa6..50386e3ba33 100644 --- a/sys/arch/mvme68k/dev/ssh.c +++ b/sys/arch/mvme68k/dev/ssh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.18 2008/08/05 04:29:03 miod Exp $ */ +/* $OpenBSD: ssh.c,v 1.19 2008/09/12 11:14:02 miod Exp $ */ /* * Copyright (c) 1994 Michael L. Hitch @@ -159,10 +159,6 @@ struct scsi_xfer *xs; flags = xs->flags; /* XXXX ?? */ - if (flags & SCSI_DATA_UIO) - panic("ssh: scsi data uio requested"); - - /* XXXX ?? */ if (sc->sc_nexus && flags & SCSI_POLL) panic("ssh_scsicmd: busy"); |