[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190806062316.30784-1-ice_yangxiao@163.com>
Date: Tue, 6 Aug 2019 14:23:16 +0800
From: Xiao Yang <ice_yangxiao@....com>
To: yamada.masahiro@...ionext.com, michal.lkml@...kovi.net
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
yangx.jy@...fujitsu.com, Xiao Yang <ice_yangxiao@....com>
Subject: [PATCH] kbuild: Remove unused variable TMPO of ld-option
ld-option implementation has been simplified so variable TMPO
is no longer needed.
Fixes: Commit 0294e6f4a000 ("kbuild: simplify ld-option implementation")
Signed-off-by: Xiao Yang <ice_yangxiao@....com>
---
scripts/Kbuild.include | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 4b0432e095ae..13a6f627351d 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -91,12 +91,11 @@ TMPOUT := $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/)
# automatically cleaned up.
try-run = $(shell set -e; \
TMP="$(TMPOUT).$$$$.tmp"; \
- TMPO="$(TMPOUT).$$$$.o"; \
if ($(1)) >/dev/null 2>&1; \
then echo "$(2)"; \
else echo "$(3)"; \
fi; \
- rm -f "$$TMP" "$$TMPO")
+ rm -f "$$TMP")
# as-option
# Usage: cflags-y += $(call as-option,-Wa$(comma)-isa=foo,)
--
2.21.0
Powered by blists - more mailing lists