From 31c22f88a6855c8c6c9b1b9f0b87f27e0af3d8df Mon Sep 17 00:00:00 2001 From: bz Date: Sat, 31 Jan 2009 17:34:55 +0000 Subject: There is no need to initialize the variable here. Submitted by: Christoph Mallon christoph.mallon@gmx.de Reviewed by: kib (as part of a larger patch) MFC after: 2 weeks --- sys/cam/scsi/scsi_pass.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/cam') diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c index 4dc86de..c60bb92 100644 --- a/sys/cam/scsi/scsi_pass.c +++ b/sys/cam/scsi/scsi_pass.c @@ -298,8 +298,6 @@ passopen(struct cdev *dev, int flags, int fmt, struct thread *td) struct pass_softc *softc; int error; - error = 0; /* default to no error */ - periph = (struct cam_periph *)dev->si_drv1; if (cam_periph_acquire(periph) != CAM_REQ_CMP) return (ENXIO); -- cgit v1.1