From db445b8143fc8215c12408e4d0fbfc909d2fe0ee Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 15 Nov 2001 19:42:08 +0000 Subject: '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(-) (limited to 'sys/dev/snp/snp.c') diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 29ddf48..b8343a9 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)) -- cgit v1.1