aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/snp
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2001-11-15 19:42:08 +0000
committerRobert Watson <rwatson@FreeBSD.org>2001-11-15 19:42:08 +0000
commit101823b1a19a028df9b8ff1697bfb35d17899ac8 (patch)
treed8ce5fe752c644503d890df8c4719e27a34c1273 /sys/dev/snp
parenta9032e75b2a6f03918159834b9604246c6732d80 (diff)
downloadsrc-101823b1a19a028df9b8ff1697bfb35d17899ac8.tar.gz
src-101823b1a19a028df9b8ff1697bfb35d17899ac8.zip
'error' is now unused, since its only purpose was to catch the
results of suser_td().
Notes
Notes: svn path=/head/; revision=86419
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 29ddf48d559d..b8343a941294 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))