mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
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:
parent
e194a8b7f8
commit
6422be38fc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user