On Wed, Mar 25, 2015 at 09:55:49AM +0100, Richard Cochran wrote: > > +int tsproc_update_delay(struct tsproc *tsp, tmv_t *delay) > > +{ > > + tmv_t raw_delay; > > + > > + if (!tsp->t1 || !tsp->t2 || !tsp->t3 || !tsp->t4) > > + return -1; > > Use tmv_zero() here ...
Rather, tmv_is_zero(). Thanks, Richard ------------------------------------------------------------------------------ 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