WPS: Remove unused struct subscr_addr parent pointer
This commit is contained in:
parent
f1de40f728
commit
ea8f09acb2
2 changed files with 0 additions and 2 deletions
|
@ -377,7 +377,6 @@ static void subscr_addr_add_url(struct subscription *s, const char *url)
|
||||||
a = os_zalloc(sizeof(*a) + alloc_len);
|
a = os_zalloc(sizeof(*a) + alloc_len);
|
||||||
if (a == NULL)
|
if (a == NULL)
|
||||||
continue;
|
continue;
|
||||||
a->s = s;
|
|
||||||
mem = (void *) (a + 1);
|
mem = (void *) (a + 1);
|
||||||
a->domain_and_port = mem;
|
a->domain_and_port = mem;
|
||||||
strcpy(mem, domain_and_port);
|
strcpy(mem, domain_and_port);
|
||||||
|
|
|
@ -68,7 +68,6 @@ struct advertisement_state_machine {
|
||||||
*/
|
*/
|
||||||
struct subscr_addr {
|
struct subscr_addr {
|
||||||
struct dl_list list;
|
struct dl_list list;
|
||||||
struct subscription *s; /* parent */
|
|
||||||
char *domain_and_port; /* domain and port part of url */
|
char *domain_and_port; /* domain and port part of url */
|
||||||
char *path; /* "filepath" part of url (from "mem") */
|
char *path; /* "filepath" part of url (from "mem") */
|
||||||
struct sockaddr_in saddr; /* address for doing connect */
|
struct sockaddr_in saddr; /* address for doing connect */
|
||||||
|
|
Loading…
Reference in a new issue