]> Zhao Yanbai Git Server - minix.git/commitdiff
Removed unused variable ip_port from icmp_router_advertisment().
authorKees van Reeuwijk <reeuwijk@few.vu.nl>
Wed, 20 Jan 2010 22:02:25 +0000 (22:02 +0000)
committerKees van Reeuwijk <reeuwijk@few.vu.nl>
Wed, 20 Jan 2010 22:02:25 +0000 (22:02 +0000)
servers/inet/generic/icmp.c

index b4ea2b9904a64e97dd320993d2bc0f2fe175079c..1cdfe70006f290053fbb301399fdf22e9f7038c8 100644 (file)
@@ -1002,7 +1002,6 @@ icmp_hdr_t *icmp_hdr;
        u16_t lifetime;
        int i;
        char *bufp;
-       ip_port_t *ip_port;
 
        if (icmp_len < 8)
        {
@@ -1051,7 +1050,6 @@ icmp_hdr_t *icmp_hdr;
                        lifetime));
                return;
        }
-       ip_port= &ip_port_table[icmp_port->icp_ipport];
        for (i= 0, bufp= (char *)&icmp_hdr->ih_dun.uhd_data[0]; i< entries; i++,
                bufp += entry_size)
        {