Thread (25 messages) flat view 25 messages, 6 authors, 2016-10-21

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

From: Richard Cochran <richardcochran@gmail.com>
Date: 2016-10-20 14:06:10
Also in: linux-kbuild, lkml

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?

(I thought the kernel's gcc settings don't enable the warning for
unused arguments.)

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help