From: Nicholas Bellinger Date: Fri, 27 May 2011 20:34:20 +0000 (-0700) Subject: tcm_fc: Makefile cleanups X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a1fa3759583ef2379da6e2cc346ee9f99dfba309;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git tcm_fc: Makefile cleanups This patch removes the unnecessary EXTRA_CFLAGS includes, and drops the unused -DTCM_FC_DEBUG define. Reported-by: Christoph Hellwig Signed-off-by: Nicholas A. Bellinger --- diff --git a/drivers/target/tcm_fc/Makefile b/drivers/target/tcm_fc/Makefile index 7a5c2b64cf65..20b14bb087c9 100644 --- a/drivers/target/tcm_fc/Makefile +++ b/drivers/target/tcm_fc/Makefile @@ -1,15 +1,6 @@ -EXTRA_CFLAGS += -I$(srctree)/drivers/target/ \ - -I$(srctree)/drivers/scsi/ \ - -I$(srctree)/include/scsi/ \ - -I$(srctree)/drivers/target/tcm_fc/ - -tcm_fc-y += tfc_cmd.o \ - tfc_conf.o \ - tfc_io.o \ - tfc_sess.o +tcm_fc-y += tfc_cmd.o \ + tfc_conf.o \ + tfc_io.o \ + tfc_sess.o obj-$(CONFIG_TCM_FC) += tcm_fc.o - -ifdef CONFIGFS_TCM_FC_DEBUG -EXTRA_CFLAGS += -DTCM_FC_DEBUG -endif