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

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to