summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_snoop.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-10-29 15:33:36 +0000
committerphk <phk@FreeBSD.org>1995-10-29 15:33:36 +0000
commit88d6fa4d4abcae38b7ea2520fe4f00203d58d677 (patch)
tree5994df578f3d766b837fe6548617062ae4661aac /sys/kern/tty_snoop.c
parentcc116c7cb7917f4b59507c90c1b0c2a45b1f6364 (diff)
downloadFreeBSD-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/kern/tty_snoop.c')
-rw-r--r--sys/kern/tty_snoop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/tty_snoop.c b/sys/kern/tty_snoop.c
index abfc765..77c1596 100644
--- a/sys/kern/tty_snoop.c
+++ b/sys/kern/tty_snoop.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)
OpenPOWER on IntegriCloud