commit | 0d7b70e83642f01c451a52faa3908e7b054ff7c6 | [log] [tgz] |
---|---|---|
author | Jonathan Toppins <jtoppins@redhat.com> | Fri Oct 06 15:48:30 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 07 03:00:26 2017 +0100 |
tree | 1dc67b6243e015681e0d1e4e4657f5e001275c75 | |
parent | ca82214144d925155977abe7c0af7c2c252b837f [diff] |
bnxt_en: don't consider building bnxt_tc.o if option not enabled 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@redhat.com> Acked-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>