Re: [PATCH net-next 1/2] bnxt_en: don't consider building bnxt_tc.o if option not enabled

From: David Miller
Date: Fri Oct 06 2017 - 22:00:49 EST


From: Michael Chan <michael.chan@xxxxxxxxxxxx>
Date: Fri, 6 Oct 2017 18:01:57 -0700

> On Fri, Oct 6, 2017 at 12:48 PM, Jonathan Toppins <jtoppins@xxxxxxxxxx> 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 <jtoppins@xxxxxxxxxx>
>
> Acked-by: Michael Chan <michael.chan@xxxxxxxxxxxx>

Applied.