From: Garrett Wollman Date: Sun, 15 Jul 2012 19:41:25 +0000 (-0400) Subject: rx: dead initialization in rxi_RestoreDataBufs X-Git-Tag: openafs-stable-1_8_0pre1~2217 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=0b69ca34eb55f9d0a53e5f6b2e6155c7824b2fde rx: dead initialization in rxi_RestoreDataBufs Don't initialize iov only to overwrite it immediately below. Change-Id: I5b5660f31e02094a8871a0726dbd5be7ae6f9ea6 Reviewed-on: http://gerrit.openafs.org/7770 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/rx/rx_packet.c b/src/rx/rx_packet.c index 119f8ef..15af43d 100644 --- a/src/rx/rx_packet.c +++ b/src/rx/rx_packet.c @@ -956,7 +956,7 @@ void rxi_RestoreDataBufs(struct rx_packet *p) { unsigned int i; - struct iovec *iov = &p->wirevec[2]; + struct iovec *iov; RX_PACKET_IOV_INIT(p);