Re: [PATCH 3/4] ptp_clock: allow for it to be optional

From: Nicolas Pitre
Date: Thu Oct 20 2016 - 12:44:42 EST


On Thu, 20 Oct 2016, Richard Cochran wrote:

> On Wed, Oct 19, 2016 at 07:42:52PM -0400, Nicolas Pitre wrote:
> > +static inline void ptp_clock_event(struct ptp_clock *ptp,
> > + struct ptp_clock_event *event)
> > +{ (void)event; }
>
> Just out of curiosity, why do you need that cast?

It's redundant and now gone. Probably a remnant from the initial test
code that used macros.

Thanks.


Nicolas