[PATCH] kbuild: remove unused cmd_gentimeconst
From: Masahiro Yamada
Date: Mon Dec 24 2018 - 09:19:07 EST
filechk_gentimeconst is always used instead of cmd_gentimeconst.
Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
---
Kbuild | 4 ----
1 file changed, 4 deletions(-)
diff --git a/Kbuild b/Kbuild
index 640557d..4455dfd 100644
--- a/Kbuild
+++ b/Kbuild
@@ -25,10 +25,6 @@ timeconst-file := include/generated/timeconst.h
targets += $(timeconst-file)
-quiet_cmd_gentimeconst = GEN $@
-define cmd_gentimeconst
- (echo $(CONFIG_HZ) | bc -q $< ) > $@
-endef
define filechk_gentimeconst
(echo $(CONFIG_HZ) | bc -q $< )
endef
--
2.7.4