diff options
author | ken <ken@FreeBSD.org> | 1998-10-15 17:46:26 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1998-10-15 17:46:26 +0000 |
commit | 8c808a1f97e6f7f7790aa7f3b9d3dbc299319057 (patch) | |
tree | 5140901512c2a8b8bb120f92604d5c3078074a12 /sys/cam/cam_periph.c | |
parent | 5e2d5257728e6da74957d225fd0a1de28893a3e8 (diff) | |
download | FreeBSD-src-8c808a1f97e6f7f7790aa7f3b9d3dbc299319057.zip FreeBSD-src-8c808a1f97e6f7f7790aa7f3b9d3dbc299319057.tar.gz |
Clean up some unused variables.
Reviewed by: ken
Submitted by: phk
Diffstat (limited to 'sys/cam/cam_periph.c')
-rw-r--r-- | sys/cam/cam_periph.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c index 694bc5e..6d6fe29 100644 --- a/sys/cam/cam_periph.c +++ b/sys/cam/cam_periph.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cam_periph.c,v 1.3 1998/09/29 09:18:08 bde Exp $ + * $Id: cam_periph.c,v 1.4 1998/10/13 21:41:32 ken Exp $ */ #include <sys/param.h> @@ -264,7 +264,6 @@ camperiphnextunit(struct periph_driver *p_drv, u_int newunit, int wired) struct cam_periph *periph; struct cam_periph_config *periph_conf; char *periph_name; - u_int i; int s; s = splsoftcam(); @@ -441,7 +440,6 @@ int cam_periph_lock(struct cam_periph *periph, int priority) { int error; - int s; while ((periph->flags & CAM_PERIPH_LOCKED) != 0) { periph->flags |= CAM_PERIPH_LOCK_WANTED; |