Browse Source

WPS: Remove unused struct subscr_addr parent pointer

Jouni Malinen 15 years ago
parent
commit
ea8f09acb2
2 changed files with 0 additions and 2 deletions
  1. 0 1
      src/wps/wps_upnp.c
  2. 0 1
      src/wps/wps_upnp_i.h

+ 0 - 1
src/wps/wps_upnp.c

@@ -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);

+ 0 - 1
src/wps/wps_upnp_i.h

@@ -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 */