sctp: remove useless arguments from get_saddr() call
[linux-2.6.git] / net / sctp / transport.c
index 2544b9b..1fbb920 100644 (file)
@@ -284,7 +284,7 @@ void sctp_transport_route(struct sctp_transport *transport,
        if (saddr)
                memcpy(&transport->saddr, saddr, sizeof(union sctp_addr));
        else
-               af->get_saddr(opt, transport, daddr, &fl);
+               af->get_saddr(opt, transport, &fl);
 
        if ((transport->param_flags & SPP_PMTUD_DISABLE) && transport->pathmtu) {
                return;