diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2009-12-10 00:20:39 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2009-12-10 00:20:39 +0000 |
commit | 63093dbb9acf88745a2914b3d54b9c95a23f2bc4 (patch) | |
tree | 84dafc78283262b0259367d2531d21e5f1519312 /sys/dev/ic | |
parent | a5bea4c74c12b44659d8edca7d7b73ace1999681 (diff) |
remove dead assignment and newly created unused variable.
Found by LLVM/Clang Static Analyzer.
ok dlg@ marco@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/mpi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index 64545adbc63..78b9dbc8eee 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.123 2009/12/09 04:59:41 marco Exp $ */ +/* $OpenBSD: mpi.c,v 1.124 2009/12/10 00:20:38 chl Exp $ */ /* * Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org> @@ -2256,7 +2256,6 @@ mpi_portenable(struct mpi_softc *sc) { struct mpi_ccb *ccb; struct mpi_msg_portenable_request *peq; - struct mpi_msg_portenable_repy *pep; int s; DNPRINTF(MPI_D_MISC, "%s: mpi_portenable\n", DEVNAME(sc)); @@ -2287,7 +2286,6 @@ mpi_portenable(struct mpi_softc *sc) DEVNAME(sc)); return (1); } - pep = ccb->ccb_rcb->rcb_reply; mpi_push_reply(sc, ccb->ccb_rcb->rcb_reply_dva); mpi_put_ccb(sc, ccb); |