summaryrefslogtreecommitdiffstats
path: root/sys/dev/snp
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-11-15 19:42:08 +0000
committerrwatson <rwatson@FreeBSD.org>2001-11-15 19:42:08 +0000
commitdb445b8143fc8215c12408e4d0fbfc909d2fe0ee (patch)
treed8ce5fe752c644503d890df8c4719e27a34c1273 /sys/dev/snp
parentb25cdd709689f3090d09fe78305eb543bc6c1b27 (diff)
downloadFreeBSD-src-db445b8143fc8215c12408e4d0fbfc909d2fe0ee.zip
FreeBSD-src-db445b8143fc8215c12408e4d0fbfc909d2fe0ee.tar.gz
'error' is now unused, since its only purpose was to catch the
results of suser_td().
Diffstat (limited to 'sys/dev/snp')
-rw-r--r--sys/dev/snp/snp.c1
1 files changed, 0 insertions, 1 deletions
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))
OpenPOWER on IntegriCloud