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:
Bjoern A. Zeeb 2009-01-31 17:34:55 +00:00
parent c09a6b1ab6
commit 53071a66d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187957

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