From: Fam Zheng Date: Wed, 15 Feb 2017 08:31:43 +0000 (+0800) Subject: net: Remove useless local var pkt X-Git-Tag: v2.9.0-rc0~24^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=290e6e113b65ae86cfa37f2ff5ca5eb57dbf824c;p=thirdparty%2Fqemu.git net: Remove useless local var pkt This has been pointless since commit 605d52e62, which was a search-and-replace, overlooked the redundancy. Signed-off-by: Fam Zheng Reviewed-by: Dmitry Fleytman Signed-off-by: Jason Wang --- diff --git a/hw/net/net_rx_pkt.c b/hw/net/net_rx_pkt.c index 1019b50c185..7f928d7339e 100644 --- a/hw/net/net_rx_pkt.c +++ b/hw/net/net_rx_pkt.c @@ -159,7 +159,6 @@ void net_rx_pkt_attach_iovec_ex(struct NetRxPkt *pkt, void net_rx_pkt_dump(struct NetRxPkt *pkt) { #ifdef NET_RX_PKT_DEBUG - NetRxPkt *pkt = (NetRxPkt *)pkt; assert(pkt); printf("RX PKT: tot_len: %d, vlan_stripped: %d, vlan_tag: %d\n",