summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-12-12 11:18:33 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-12-12 11:18:33 +0000
commitb3908691ec24cc1f5f8dda3b1ac2d2a966a2c439 (patch)
tree0170d24c478f48b2f9573740d9e68fd8ebdd750f
parenta9a3c5f1e5887d296e8c6e843b8fdc917a379918 (diff)
Remove unused variable defined with an unexisting type.
Found with ctfconv(1). ok jsg@, dlg@
-rw-r--r--sys/dev/pci/mpii.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 99b6eddf6ff..c1f523a39b4 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.112 2017/08/10 15:01:42 mikeb Exp $ */
+/* $OpenBSD: mpii.c,v 1.113 2017/12/12 11:18:32 mpi Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
@@ -1567,7 +1567,6 @@ int
mpii_portenable(struct mpii_softc *sc)
{
struct mpii_msg_portenable_request *peq;
- struct mpii_msg_portenable_repy *pep;
struct mpii_ccb *ccb;
DNPRINTF(MPII_D_MISC, "%s: mpii_portenable\n", DEVNAME(sc));
@@ -1596,7 +1595,6 @@ mpii_portenable(struct mpii_softc *sc)
DEVNAME(sc));
return (1);
}
- pep = ccb->ccb_rcb->rcb_reply;
mpii_push_reply(sc, ccb->ccb_rcb);
scsi_io_put(&sc->sc_iopool, ccb);