From dd1642c2c4b5722b53e8fd5e92f39e6ddff9376e Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 4 Nov 1995 11:12:41 +0000 Subject: [PATCH] Fixed the type of sscstrategy() (return void). Removed sscdump() (it was never used). Removed sscpsize() (it was never used, and returned a bogus value (ENXIO = 6 means a size of 6)). --- sys/scsi/ssc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/scsi/ssc.c b/sys/scsi/ssc.c index df7fbb68004..442e12b9e42 100644 --- a/sys/scsi/ssc.c +++ b/sys/scsi/ssc.c @@ -49,7 +49,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. *End copyright - * $Id: ssc.c,v 1.2 1995/01/08 15:56:09 dufault Exp $ + * $Id: ssc.c,v 1.3 1995/05/03 18:09:18 dufault Exp $ */ #include @@ -112,9 +112,7 @@ int sscioctl(dev_t dev, int cmd, caddr_t data, int fflag, struct proc *p) * really is no good reason other than I'm not sure how you would use * them. */ -int sscstrategy(struct buf *bp) { return ENXIO; } -int sscdump(dev_t dev) { return ENXIO; } -int sscpsize(dev_t dev) { return ENXIO; } +void sscstrategy(struct buf *bp) { } int sscread(dev_t dev, struct uio *uio, int ioflag) { return ENXIO; } int sscwrite(dev_t dev, struct uio *uio, int ioflag) { return ENXIO; } int sscselect(dev_t dev, int which, struct proc *p) { return ENXIO; }