aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ppbus/vpo.c
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>1998-12-07 21:58:50 +0000
committerArchie Cobbs <archie@FreeBSD.org>1998-12-07 21:58:50 +0000
commitf1d19042b082d95f07a0027e596ba2405aa8a9a5 (patch)
treeb856be4db5efb04d68d01039a157119ac8613b9f /sys/dev/ppbus/vpo.c
parentf769cca5eb9fed523269d85eefe74037ff7bd1b5 (diff)
downloadsrc-f1d19042b082d95f07a0027e596ba2405aa8a9a5.tar.gz
src-f1d19042b082d95f07a0027e596ba2405aa8a9a5.zip
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
Notes
Notes: svn path=/head/; revision=41591
Diffstat (limited to 'sys/dev/ppbus/vpo.c')
-rw-r--r--sys/dev/ppbus/vpo.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ppbus/vpo.c b/sys/dev/ppbus/vpo.c
index 0585a497cd9b..e8d0b8d9f852 100644
--- a/sys/dev/ppbus/vpo.c
+++ b/sys/dev/ppbus/vpo.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: vpo.c,v 1.4 1997/09/01 00:51:52 bde Exp $
+ * $Id: vpo.c,v 1.8 1998/09/20 14:41:54 nsouch Exp $
*
*/
@@ -157,7 +157,6 @@ vpoprobe(struct ppb_data *ppb)
static int
vpoattach(struct ppb_device *dev)
{
- struct scsibus_data *scbus;
struct vpo_data *vpo = vpodata[dev->id_unit];
struct cam_devq *devq;
@@ -211,9 +210,11 @@ vpoattach(struct ppb_device *dev)
static void
vpo_intr(struct vpo_data *vpo, struct ccb_scsiio *csio)
{
-
- int i, errno; /* error in errno.h */
+ int errno; /* error in errno.h */
int s;
+#ifdef VP0_DEBUG
+ int i;
+#endif
s = splcam();