aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccid.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-12-08 04:18:05 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-08 04:18:05 -0500
commit0049bab5e765aa74cf767a834fa336e19453fc5e (patch)
treef3210e13c5645dbedffe90a4b1f1dca787673bb0 /net/dccp/ccid.c
parent63b8e2861f31868dce9c92fd7444f212a5a8a775 (diff)
dccp: Remove obsolete parts of the old CCID interface
The TX/RX CCIDs of the minisock are now redundant: similar to the Ack Vector case, their value equals initially that of the sysctl, but at the end of feature negotiation may be something different. The old interface removed by this patch thus has been replaced by the newer interface to dynamically query the currently loaded CCIDs. Also removed are the constructors for the TX CCID and the RX CCID, since the switch "rx <-> non-rx" is done by the handler in minisocks.c (and the handler is the only place in the code where CCIDs are loaded). Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ccid.c')
-rw-r--r--net/dccp/ccid.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/net/dccp/ccid.c b/net/dccp/ccid.c
index 647cb0614f84..bcc643f992ae 100644
--- a/net/dccp/ccid.c
+++ b/net/dccp/ccid.c
@@ -253,20 +253,6 @@ out_module_put:
253 253
254EXPORT_SYMBOL_GPL(ccid_new); 254EXPORT_SYMBOL_GPL(ccid_new);
255 255
256struct ccid *ccid_hc_rx_new(unsigned char id, struct sock *sk, gfp_t gfp)
257{
258 return ccid_new(id, sk, 1, gfp);
259}
260
261EXPORT_SYMBOL_GPL(ccid_hc_rx_new);
262
263struct ccid *ccid_hc_tx_new(unsigned char id,struct sock *sk, gfp_t gfp)
264{
265 return ccid_new(id, sk, 0, gfp);
266}
267
268EXPORT_SYMBOL_GPL(ccid_hc_tx_new);
269
270static void ccid_delete(struct ccid *ccid, struct sock *sk, int rx) 256static void ccid_delete(struct ccid *ccid, struct sock *sk, int rx)
271{ 257{
272 struct ccid_operations *ccid_ops; 258 struct ccid_operations *ccid_ops;