Skip to content

Commit

Permalink
kbuild: remove unused cmd_gentimeconst
Browse files Browse the repository at this point in the history
filechk_gentimeconst is always used instead of cmd_gentimeconst.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
  • Loading branch information
masahir0y committed Dec 24, 2018
1 parent 11fda14 commit dec28d8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dec28d8

Please sign in to comment.