kbuild: remove unused cmd_gentimeconst
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 24 Dec 2018 14:11:09 +0000 (23:11 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 24 Dec 2018 15:10:30 +0000 (00:10 +0900)
filechk_gentimeconst is always used instead of cmd_gentimeconst.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Kbuild

diff --git a/Kbuild b/Kbuild
index 03cb8edfbafbf3e43ec3d1c63a3e964036afbe28..414ae6da1f50dea68fd044ca2d09d682c308fab4 100644 (file)
--- a/Kbuild
+++ b/Kbuild
@@ -26,10 +26,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