]> git.baikalelectronics.ru Git - kernel.git/commit
[DCCP]: Make ccid3_hc_tx_update_x get a timestamp if needed
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>
Mon, 20 Aug 2007 00:14:27 +0000 (17:14 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:10 +0000 (16:48 -0700)
commit33ec51bcaabfac44b82bf8131beebec6e93be2b9
treec7d78474bf451d63c93f155f4d145b69f3b4371c
parent449424ac52d00b2ddda7c51bf16e95f9c63f8124
[DCCP]: Make ccid3_hc_tx_update_x get a timestamp if needed

The code was too complicated, if p > 0 in ccid3_hc_tx_no_feedback_timer the
timestamp was being obtained to be passed to ccid3_hc_tx_update_x, where only
if p > 0 the timestamp was needed, so just leave it to ccid3_hc_tx_update_x to
obtain the timestamp if needed.

This will help in the upcoming changesets where we'll convert t_ld to ktime_t.
We'll eventually try to reuse ktime_get_real() calls again.

Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccids/ccid3.c