[PATCH net-next] Removed unused function sctp_addr_is_valid()

Subsystems: networking [general], sctp protocol, the rest

STALE4307d REVIEWED: 2 (2M)

1 review trailer.

2 messages, 2 authors, 2014-10-24 · open the first message on its own page

[PATCH net-next] Removed unused function sctp_addr_is_valid()

From: Sébastien Barré <hidden>
Date: 2014-10-21 13:27:00

sctp_addr_is_valid() only appeared in its definition.

Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Sébastien Barré <redacted>

---

Note: originally sent on linux-sctp (11/10/2014, 16:29).
Sorry, I should probably have sent immediately to you and netdev as well.
Neil Horman had acked the patch, so I included
the ack here.

 include/net/sctp/structs.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 4ff3f67..806e3b5 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -1116,7 +1116,6 @@ int sctp_raw_to_bind_addrs(struct sctp_bind_addr *bp, __u8 *raw, int len,
 sctp_scope_t sctp_scope(const union sctp_addr *);
 int sctp_in_scope(struct net *net, const union sctp_addr *addr, const sctp_scope_t scope);
 int sctp_is_any(struct sock *sk, const union sctp_addr *addr);
-int sctp_addr_is_valid(const union sctp_addr *addr);
 int sctp_is_ep_boundall(struct sock *sk);
 
 
-- 
tg: (61ed53d..) net-next/removed-unused-sctp-function (depends on: net-next/master)

Re: [PATCH net-next] Removed unused function sctp_addr_is_valid()

From: David Miller <davem@davemloft.net>
Date: 2014-10-24 04:37:54

From: Sébastien Barré <redacted>
Date: Tue, 21 Oct 2014 15:26:15 +0200
sctp_addr_is_valid() only appeared in its definition.

Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Sébastien Barré <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help