From 101823b1a19a028df9b8ff1697bfb35d17899ac8 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Thu, 15 Nov 2001 19:42:08 +0000 Subject: [PATCH] 'error' is now unused, since its only purpose was to catch the results of suser_td(). --- sys/dev/snp/snp.c | 1 - 1 file changed, 1 deletion(-) 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))