inet_diag: Remove dup assignments
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 Apr 2009 15:03:26 +0000 (08:03 -0700)
committerDavid 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

index 588a7796e3e3e67ea7a4c2e627e0b557f2bd2e59..b0b273503e2ad4fb58085430ed506d30e1bfd6f7 100644 (file)
@@ -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;