From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Mon, 24 Dec 2018 14:11:09 +0000 (+0900)
Subject: kbuild: remove unused cmd_gentimeconst
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dec28d8ea2f731b7ec68a2c9421e99a165d47b57;p=linux.git

kbuild: remove unused cmd_gentimeconst

filechk_gentimeconst is always used instead of cmd_gentimeconst.

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

diff --git a/Kbuild b/Kbuild
index 03cb8edfbafbf..414ae6da1f50d 100644
--- 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