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
This commit is contained in:
bz 2009-01-31 17:34:55 +00:00
parent d4d34dea9f
commit 31c22f88a6

View File

@ -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);