projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a321cb
)
inet_diag: Remove dup assignments
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Tue, 28 Apr 2009 15:03:26 +0000
(08:03 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 28 Apr 2009 15:03:26 +0000
(08:03 -0700)
These are later assigned to other values without being used meanwhile.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/inet_diag.c
b/net/ipv4/inet_diag.c
index 588a7796e3e3e67ea7a4c2e627e0b557f2bd2e59..b0b273503e2ad4fb58085430ed506d30e1bfd6f7 100644
(file)
--- a/
net/ipv4/inet_diag.c
+++ b/
net/ipv4/inet_diag.c
@@
-198,8
+198,6
@@
static int inet_twsk_diag_fill(struct inet_timewait_sock *tw,
tmo = 0;
r->idiag_family = tw->tw_family;
- r->idiag_state = tw->tw_state;
- r->idiag_timer = 0;
r->idiag_retrans = 0;
r->id.idiag_if = tw->tw_bound_dev_if;
r->id.idiag_cookie[0] = (u32)(unsigned long)tw;