aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/snp
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-10-29 15:33:36 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-10-29 15:33:36 +0000
commita98ca4699e496aa92e57b376defd0647b9ed5628 (patch)
tree5994df578f3d766b837fe6548617062ae4661aac /sys/dev/snp
parent973e116456750e8ab62bfdb0f58be45593879c42 (diff)
Notes
Diffstat (limited to 'sys/dev/snp')
-rw-r--r--sys/dev/snp/snp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index abfc765b4cdf0..77c1596d5b39f 100644
--- a/sys/dev/snp/snp.c
+++ b/sys/dev/snp/snp.c
@@ -182,7 +182,6 @@ snpin(snp, buf, n)
int s, len, nblen;
caddr_t from, to;
char *nbuf;
- struct tty *tp;
if (n == 0)
@@ -471,7 +470,7 @@ snpselect(dev, rw, p)
int rw;
struct proc *p;
{
- int unit = minor(dev), s;
+ int unit = minor(dev);
struct snoop *snp = &snoopsw[unit];
if (rw != FREAD)