Module Name: src Committed By: mbalmer Date: Tue Feb 28 14:04:19 UTC 2012
Modified Files: src/sys/dev/scsipi: ss.c Log Message: one line comments on one line. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/dev/scsipi/ss.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/scsipi/ss.c diff -u src/sys/dev/scsipi/ss.c:1.83 src/sys/dev/scsipi/ss.c:1.84 --- src/sys/dev/scsipi/ss.c:1.83 Tue Feb 28 14:01:03 2012 +++ src/sys/dev/scsipi/ss.c Tue Feb 28 14:04:19 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: ss.c,v 1.83 2012/02/28 14:01:03 mbalmer Exp $ */ +/* $NetBSD: ss.c,v 1.84 2012/02/28 14:04:19 mbalmer Exp $ */ /* * Copyright (c) 1995 Kenneth Stailey. All rights reserved. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.83 2012/02/28 14:01:03 mbalmer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.84 2012/02/28 14:04:19 mbalmer Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -216,9 +216,7 @@ ssdetach(device_t self, int flags) return 0; } -/* - * open the device. - */ +/* open the device. */ static int ssopen(dev_t dev, int flag, int mode, struct lwp *l) { @@ -322,10 +320,8 @@ ssclose(dev_t dev, int flag, int mode, s } /* - * trim the size of the transfer if needed, - * called by physio - * basically the smaller of our min and the scsi driver's - * minphys + * trim the size of the transfer if needed, called by physio + * basically the smaller of our min and the scsi driver's minphys */ static void ssminphys(struct buf *bp) @@ -455,10 +451,8 @@ ssstart(struct scsipi_periph *periph) struct buf *bp; SC_DEBUG(periph, SCSIPI_DB2, ("ssstart ")); - /* - * See if there is a buf to do and we are not already - * doing one - */ + + /* See if there is a buf to do and we are not already doing one */ while (periph->periph_active < periph->periph_openings) { /* if a special awaits, let it proceed first */ if (periph->periph_flags & PERIPH_WAITING) { @@ -467,9 +461,7 @@ ssstart(struct scsipi_periph *periph) return; } - /* - * See if there is a buf with work for us to do.. - */ + /* See if there is a buf with work for us to do.. */ if ((bp = bufq_peek(ss->buf_queue)) == NULL) return;