diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 29ddf48d559..b8343a94129 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -381,7 +381,6 @@ snpopen(dev, flag, mode, td) struct thread *td; { struct snoop *snp; - int error; if (dev->si_drv1 == NULL) { if (!(dev->si_flags & SI_NAMED))