diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-09-24 01:27:12 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-09-24 01:27:12 +0000 |
commit | 2aea0aba01deb416a0a16c185ab21110bf21ed83 (patch) | |
tree | 19ff2c607f291c4565bbda507e9f569a8882424f /sys | |
parent | 7f3d9179ee3afb154fdc7180d227184ba2645ff3 (diff) |
vol_list in mpi_get_raid is never used.
Diffstat (limited to 'sys')
-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 7fb2587f72b..7490178bd48 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.164 2010/09/21 06:25:48 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.165 2010/09/24 01:27:11 dlg Exp $ */ /* * Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org> @@ -2666,7 +2666,6 @@ mpi_get_raid(struct mpi_softc *sc) { struct mpi_cfg_hdr hdr; struct mpi_cfg_ioc_pg2 *vol_page; - struct mpi_cfg_raid_vol *vol_list; size_t pagelen; u_int32_t capabilities; @@ -2685,7 +2684,6 @@ mpi_get_raid(struct mpi_softc *sc) "space for ioc config page 2\n", DEVNAME(sc)); return; } - vol_list = (struct mpi_cfg_raid_vol *)(vol_page + 1); if (mpi_cfg_page(sc, 0, &hdr, 1, vol_page, pagelen) != 0) { DNPRINTF(MPI_D_RAID, "%s: mpi_get_raid unable to fetch IOC " |