dccp ccid-2: Remove CCID naming redundancy 1/2
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 5 Oct 2009 00:53:12 +0000 (00:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2009 20:51:23 +0000 (13:51 -0700)
commit77d2dd93742222973d253443d98ab8402d641038
tree1690399a1eae874db79e31f27721982cfdd1ea24
parent388d5e9905dd80648fff5ccaefdd8c0fcedb3eae
dccp ccid-2: Remove CCID naming redundancy 1/2

This removes a redundancy in the CCID half-connection (hc) naming scheme:
 * instead of 'hctx->tx_...', write 'hc->tx_...';
 * instead of 'hcrx->rx_...', write 'hc->rx_...';

which works because the 'type' of the half-connection is encoded in the
'rx_' / 'tx_' prefixes.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccids/ccid2.c