From bd9548b2680fefe4be91a87b07d2ed9714f32a93 Mon Sep 17 00:00:00 2001 From: mycroft Date: Fri, 17 Sep 2004 23:13:02 +0000 Subject: [PATCH] Oops; fix ssrestart(). --- sys/dev/scsipi/ss.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/sys/dev/scsipi/ss.c b/sys/dev/scsipi/ss.c index 1047ad0325d9..93419846bcc8 100644 --- a/sys/dev/scsipi/ss.c +++ b/sys/dev/scsipi/ss.c @@ -1,4 +1,4 @@ -/* $NetBSD: ss.c,v 1.54 2004/09/17 23:10:52 mycroft Exp $ */ +/* $NetBSD: ss.c,v 1.55 2004/09/17 23:13:02 mycroft Exp $ */ /* * Copyright (c) 1995 Kenneth Stailey. All rights reserved. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.54 2004/09/17 23:10:52 mycroft Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.55 2004/09/17 23:13:02 mycroft Exp $"); #include #include @@ -90,9 +90,6 @@ const struct cdevsw ss_cdevsw = { static void ssstrategy(struct buf *); static void ssstart(struct scsipi_periph *); -#if 0 -static void ssrestart(void *)); -#endif static void ssdone(struct scsipi_xfer *, int); static void ssminphys(struct buf *); @@ -516,15 +513,13 @@ ssstart(struct scsipi_periph *periph) } } -#if 0 -static void +void ssrestart(void *v) { int s = splbio(); ssstart((struct scsipi_periph *)v); splx(s); } -#endif static void ssdone(struct scsipi_xfer *xs, int error)