Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941482AbcJTQoi (ORCPT ); Thu, 20 Oct 2016 12:44:38 -0400 Received: from mail-qt0-f171.google.com ([209.85.216.171]:34931 "EHLO mail-qt0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932624AbcJTQog (ORCPT ); Thu, 20 Oct 2016 12:44:36 -0400 Date: Thu, 20 Oct 2016 12:44:34 -0400 (EDT) From: Nicolas Pitre To: Richard Cochran cc: John Stultz , Yann E MORIN , Thomas Gleixner , Josh Triplett , netdev@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] ptp_clock: allow for it to be optional In-Reply-To: <20161020140601.GC2238@netboy> Message-ID: References: <1476920573-14384-1-git-send-email-nicolas.pitre@linaro.org> <1476920573-14384-4-git-send-email-nicolas.pitre@linaro.org> <20161020140601.GC2238@netboy> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 408 Lines: 16 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