WPS: Remove unused struct subscr_addr parent pointer

This commit is contained in:
Jouni Malinen 2009-12-19 14:30:49 +02:00
parent f1de40f728
commit ea8f09acb2
2 changed files with 0 additions and 2 deletions

View file

@ -377,7 +377,6 @@ static void subscr_addr_add_url(struct subscription *s, const char *url)
a = os_zalloc(sizeof(*a) + alloc_len);
if (a == NULL)
continue;
a->s = s;
mem = (void *) (a + 1);
a->domain_and_port = mem;
strcpy(mem, domain_and_port);

View file

@ -68,7 +68,6 @@ struct advertisement_state_machine {
*/
struct subscr_addr {
struct dl_list list;
struct subscription *s; /* parent */
char *domain_and_port; /* domain and port part of url */
char *path; /* "filepath" part of url (from "mem") */
struct sockaddr_in saddr; /* address for doing connect */