[DCCP] ccid: Deprecate ccid_hc_tx_insert_options
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Sun, 10 Dec 2006 02:05:38 +0000 (00:05 -0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 11 Dec 2006 22:34:49 +0000 (14:34 -0800)
commit65d6c2b42ecc0ca77bb3c0fe27fcbdc84fc7a79a
treef38a54545125cf0c736fd484f03ec3e3ee3d971a
parentf6282f4da5eb67e08eff94d73a1911c3a008846a
[DCCP] ccid: Deprecate ccid_hc_tx_insert_options

 The function ccid3_hc_tx_insert_options only does a redundant no-op,
 as the operation

  DCCP_SKB_CB(skb)->dccpd_ccval = hctx->ccid3hctx_last_win_count;

 is already performed _unconditionally_ in ccid3_hc_tx_send_packet.

 Since there is further no current need for this function, it is removed
 entirely. Since furthermore, there is actually no present need for the
 entire interface function ccid_hc_tx_insert_options, it was decided to
 remove it also, to clean up the interface.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/dccp/ccid.h
net/dccp/ccids/ccid3.c
net/dccp/options.c