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

From: Michael Chan
Date: Fri Oct 06 2017 - 21:02:06 EST


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>