From: Kees van Reeuwijk Date: Wed, 20 Jan 2010 22:02:25 +0000 (+0000) Subject: Removed unused variable ip_port from icmp_router_advertisment(). X-Git-Tag: v3.1.6~59 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=24964aa70663200e8bf425d735803b96872ffb24;p=minix.git Removed unused variable ip_port from icmp_router_advertisment(). --- diff --git a/servers/inet/generic/icmp.c b/servers/inet/generic/icmp.c index b4ea2b990..1cdfe7000 100644 --- a/servers/inet/generic/icmp.c +++ b/servers/inet/generic/icmp.c @@ -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) {