From: Jan Kiszka Date: Wed, 24 Jun 2009 12:42:27 +0000 (+0200) Subject: slirp: Drop redundant lines from udp_input X-Git-Tag: qemu-xen-4.2.0~6736 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=753a5f170d6ea9dd577067721a0ccbce69fc191c;p=qemu-xen.git slirp: Drop redundant lines from udp_input The socket faddr/fport is already updated a few lines below, so these are completely redundant. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori --- diff --git a/slirp/udp.c b/slirp/udp.c index 11e78cddd5..ba9d5c92ba 100644 --- a/slirp/udp.c +++ b/slirp/udp.c @@ -173,8 +173,6 @@ udp_input(register struct mbuf *m, int iphlen) for (tmp = udb.so_next; tmp != &udb; tmp = tmp->so_next) { if (tmp->so_lport == uh->uh_sport && tmp->so_laddr.s_addr == ip->ip_src.s_addr) { - tmp->so_faddr.s_addr = ip->ip_dst.s_addr; - tmp->so_fport = uh->uh_dport; so = tmp; break; }