]> git.michaelhowe.org Git - packages/o/openafs.git/commit
rx: Tidy up variables in RTT calc
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 23 Oct 2010 14:07:42 +0000 (15:07 +0100)
committerDerrick Brashear <shadow@dementia.org>
Tue, 26 Oct 2010 03:01:41 +0000 (20:01 -0700)
commitebe41ce107fe5b8ad185d247a2632384071d34ec
tree8e1470a042ad8169b0017f96cb2b7fde7fdd46c7
parent174020545f4539b2174200e1544bd0daa797e35b
rx: Tidy up variables in RTT calc

We used to do rttp = &thisRtt, and then use rttp and thisRtt to
interchangably refer to the same data. This is just confusing, and
unnecessary. Replace all of the occurences of rttp with &thisRtt.

Take the opportunity to use the Clock_IsZero macro rather than doing
an explicit zero clock check.

Reviewed-on: http://gerrit.openafs.org/3031
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit 58e7b85ab7c3c839c5dd126bd1c254f68a16b73a)

Change-Id: If2ad45645bc27af3a8ecd97f047b5558c73b173d
Reviewed-on: http://gerrit.openafs.org/3144
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx.c