Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tcm_fc: Makefile cleanups

This patch removes the unnecessary EXTRA_CFLAGS includes, and drops the
unused -DTCM_FC_DEBUG define.

Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>

+4 -13
+4 -13
drivers/target/tcm_fc/Makefile
··· 1 - EXTRA_CFLAGS += -I$(srctree)/drivers/target/ \ 2 - -I$(srctree)/drivers/scsi/ \ 3 - -I$(srctree)/include/scsi/ \ 4 - -I$(srctree)/drivers/target/tcm_fc/ 5 - 6 - tcm_fc-y += tfc_cmd.o \ 7 - tfc_conf.o \ 8 - tfc_io.o \ 9 - tfc_sess.o 1 + tcm_fc-y += tfc_cmd.o \ 2 + tfc_conf.o \ 3 + tfc_io.o \ 4 + tfc_sess.o 10 5 11 6 obj-$(CONFIG_TCM_FC) += tcm_fc.o 12 - 13 - ifdef CONFIGFS_TCM_FC_DEBUG 14 - EXTRA_CFLAGS += -DTCM_FC_DEBUG 15 - endif