rx: eliminate dead variable sdl in rx_getAllAddr_internal()

Near as I can tell, sdl is only assigned once, and is never read.

Change-Id: I145be12aef902db3ad149be39c1db360775d4456
Reviewed-on: http://gerrit.openafs.org/7775
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
Garrett Wollman 2012-07-15 22:00:04 -04:00 committed by Derrick Brashear
parent e194a8b7f8
commit 6422be38fc

View File

@ -184,7 +184,6 @@ rx_getAllAddr_internal(afs_uint32 buffer[], int maxSize, int loopbacks)
int mib[6];
struct if_msghdr *ifm, *nextifm;
struct ifa_msghdr *ifam;
struct sockaddr_dl *sdl;
struct rt_addrinfo info;
char *buf, *lim, *next;
int count = 0, addrcount = 0;
@ -215,7 +214,6 @@ rx_getAllAddr_internal(afs_uint32 buffer[], int maxSize, int loopbacks)
free(buf);
return 0;
}
sdl = (struct sockaddr_dl *)(ifm + 1);
next += ifm->ifm_msglen;
ifam = NULL;
addrcount = 0;