From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753110AbdJGCAm (ORCPT ); Fri, 6 Oct 2017 22:00:42 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:51976 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752278AbdJGCAk (ORCPT ); Fri, 6 Oct 2017 22:00:40 -0400 Date: Sat, 07 Oct 2017 03:00:35 +0100 (WEST) Message-Id: <20171007.030035.899474172732259314.davem@davemloft.net> To: michael.chan@broadcom.com Cc: jtoppins@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/2] bnxt_en: don't consider building bnxt_tc.o if option not enabled From: David Miller In-Reply-To: References: <1a4d96f368f199bba0425012f50d55d634484cce.1507319311.git.jtoppins@redhat.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 06 Oct 2017 19:00:38 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Chan Date: Fri, 6 Oct 2017 18:01:57 -0700 > On Fri, Oct 6, 2017 at 12:48 PM, Jonathan Toppins wrote: >> Instead of zeroing out bnxt_tc.c with a #ifdef foo, instead don't compile >> the file when the option is not enabled. Now make and the preprocessor do >> not have to waste time compiling a no-op. >> >> Signed-off-by: Jonathan Toppins > > Acked-by: Michael Chan Applied.