Re: [Linuxptp-devel] [PATCHv2 2/6] Refactor time stamp processing.
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Miroslav L. <mli...@re...> - 2015-03-25 11:48:02
|
On Wed, Mar 25, 2015 at 09:55:49AM +0100, Richard Cochran wrote: > > +int tsproc_update_delay(struct tsproc *tsp, tmv_t *delay) > > +int tsproc_update_offset(struct tsproc *tsp, tmv_t *offset) > > + if (!offset) > > + return 0; > > What is point of allowing 'offset' to be a null pointer? That was for consistency with the tsproc_update_delay function, there is one call with NULL delay. For offset that probably won't be needed and it doesn't make much sense anyway. -- Miroslav Lichvar |