Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChas Williams <chas@cmf.nrl.navy.mil>2003-10-16 11:11:41 -0700
committerStephen Hemminger <shemminger@osdl.org>2003-10-16 11:11:41 -0700
commita5bb67e96d75dfec328c9868367cbc1c92921ef0 (patch)
tree1eeb9ba717fbe0b6b1a6bcd239291102cd3910a8
parent5b7854ddd8dbfde6da2a90645b835b73ff5e6860 (diff)
[ATM]: Minor cleanup for vcc_hash conversion
-rw-r--r--drivers/atm/fore200e.c1
-rw-r--r--net/atm/proc.c6
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
index 2193396a1a20..c699a20b4fb8 100644
--- a/drivers/atm/fore200e.c
+++ b/drivers/atm/fore200e.c
@@ -1071,7 +1071,6 @@ fore200e_find_vcc(struct fore200e* fore200e, struct rpd* rpd)
struct sock *s;
struct atm_vcc* vcc;
struct hlist_node *node;
- int i;
read_lock(&vcc_sklist_lock);
diff --git a/net/atm/proc.c b/net/atm/proc.c
index dbfa6c1ee107..fffc39bc1395 100644
--- a/net/atm/proc.c
+++ b/net/atm/proc.c
@@ -219,10 +219,10 @@ static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc)
default:
seq_printf(seq, "%3d", vcc->sk->sk_family);
}
- seq_printf(seq, " %04lx %5d %7d/%7d %7d/%7d [%d] 0x%x\n", vcc->flags, vcc->sk->sk_err,
+ seq_printf(seq, " %04lx %5d %7d/%7d %7d/%7d [%d]\n", vcc->flags, vcc->sk->sk_err,
atomic_read(&vcc->sk->sk_wmem_alloc),vcc->sk->sk_sndbuf,
atomic_read(&vcc->sk->sk_rmem_alloc),vcc->sk->sk_rcvbuf,
- atomic_read(&vcc->sk->sk_refcnt), vcc->sk->sk_hashent);
+ atomic_read(&vcc->sk->sk_refcnt));
}
static void svc_info(struct seq_file *seq, struct atm_vcc *vcc)
@@ -320,7 +320,7 @@ static int vcc_seq_show(struct seq_file *seq, void *v)
if (v == (void *)1) {
seq_printf(seq, sizeof(void *) == 4 ? "%-8s%s" : "%-16s%s",
"Address ", "Itf VPI VCI Fam Flags Reply "
- "Send buffer Recv buffer\n");
+ "Send buffer Recv buffer [refcnt]\n");
} else {
struct vcc_state *state = seq->private;
struct atm_vcc *vcc = atm_sk(state->sk);