dlist: remove unneeded type argument from DLIST_ADD_END()
[kai/samba-autobuild/.git] / source3 / smbd / server.c
index 1dd4f898a51c56401598cc12a8204d72078b459c..42fcad6de1bea9fa4a027a8bd4f9f73479f26d26 100644 (file)
@@ -846,7 +846,7 @@ static bool smbd_open_one_socket(struct smbd_parent_context *parent,
        }
        tevent_fd_set_close_fn(s->fde, smbd_open_socket_close_fn);
 
-       DLIST_ADD_END(parent->sockets, s, struct smbd_open_socket *);
+       DLIST_ADD_END(parent->sockets, s);
 
        return true;
 }