summaryrefslogtreecommitdiffstats
path: root/sys/scsi/od.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-14 09:55:16 +0000
committerphk <phk@FreeBSD.org>1995-12-14 09:55:16 +0000
commit9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e (patch)
tree9887f4bf5939f3591e9b3a4f6e1865f9a1f810d8 /sys/scsi/od.c
parent63ec2c0ae9b44c5394bae5d6ee7fea5be9659585 (diff)
downloadFreeBSD-src-9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e.zip
FreeBSD-src-9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e.tar.gz
Another mega commit to staticize things.
Diffstat (limited to 'sys/scsi/od.c')
-rw-r--r--sys/scsi/od.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/od.c b/sys/scsi/od.c
index b073c08..3a1e951 100644
--- a/sys/scsi/od.c
+++ b/sys/scsi/od.c
@@ -28,7 +28,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: od.c,v 1.8 1995/12/10 19:52:55 bde Exp $
+ * $Id: od.c,v 1.9 1995/12/10 20:19:32 bde Exp $
*/
/*
@@ -138,7 +138,7 @@ static struct cdevsw od_cdevsw =
*/
SCSI_DEVICE_ENTRIES(od)
-struct scsi_device od_switch =
+static struct scsi_device od_switch =
{
od_sense_handler,
odstart, /* have a queue, served by this */
@@ -161,8 +161,6 @@ struct scsi_device od_switch =
od_strategy,
};
-static struct scsi_xfer sx;
-
static int
od_externalize(struct kern_devconf *kdc, struct sysctl_req *req)
{
@@ -686,6 +684,7 @@ od_size(unit, flags)
return (size);
}
+#ifdef notyet
/*
* Tell the device to map out a defective block
*/
@@ -718,6 +717,7 @@ od_reassign_blocks(unit, block)
NULL,
SCSI_DATA_OUT));
}
+#endif
#define b2tol(a) (((unsigned)(a##_1) << 8) + (unsigned)a##_0 )
/*
OpenPOWER on IntegriCloud