summaryrefslogtreecommitdiff
path: root/include/net/sctp
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2011-04-26 21:53:20 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-27 13:14:06 -0700
commitaf1384703f8a4ff3d245925d6596ef1c5c6e469e (patch)
treee96ff72cb9dd65961d0e175a61aa6c0b8c91b7e1 /include/net/sctp
parent9c6a02f41d10dc9fbf5dd42058e8846f38dd2d9a (diff)
downloadlwn-af1384703f8a4ff3d245925d6596ef1c5c6e469e.tar.gz
lwn-af1384703f8a4ff3d245925d6596ef1c5c6e469e.zip
sctp: remove useless arguments from get_saddr() call
There is no point in passing a destination address to a get_saddr() call. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
-rw-r--r--include/net/sctp/structs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 1d465d62f34f..bb2f43b7e9a8 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -571,7 +571,6 @@ struct sctp_af {
struct sock *sk);
void (*get_saddr) (struct sctp_sock *sk,
struct sctp_transport *t,
- union sctp_addr *daddr,
struct flowi *fl);
void (*copy_addrlist) (struct list_head *,
struct net_device *);