diff options
author | phk <phk@FreeBSD.org> | 1995-10-29 15:33:36 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-10-29 15:33:36 +0000 |
commit | 88d6fa4d4abcae38b7ea2520fe4f00203d58d677 (patch) | |
tree | 5994df578f3d766b837fe6548617062ae4661aac /sys/dev/snp | |
parent | cc116c7cb7917f4b59507c90c1b0c2a45b1f6364 (diff) | |
download | FreeBSD-src-88d6fa4d4abcae38b7ea2520fe4f00203d58d677.zip FreeBSD-src-88d6fa4d4abcae38b7ea2520fe4f00203d58d677.tar.gz |
Second batch of cleanup changes.
This time mostly making a lot of things static and some unused
variables here and there.
Diffstat (limited to 'sys/dev/snp')
-rw-r--r-- | sys/dev/snp/snp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index abfc765..77c1596 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) |