From: Steven Rostedt (Red Hat) Date: Wed, 7 May 2014 01:57:49 +0000 (-0400) Subject: ftrace: Remove boolean of hash_enable and hash_disable X-Git-Tag: omap-for-v3.16/fixes-against-rc1~80^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66209a5bd4825e8890bfb65d48efa8a47c647fea;p=pandora-kernel.git ftrace: Remove boolean of hash_enable and hash_disable Commit 4104d326b670 "ftrace: Remove global function list and call function directly" cleaned up the global_ops filtering and made the code simpler, but it left a variable "hash_enable" that was used to know if the hash functions should be updated or not. It was updated if the global_ops did not override them. As the global_ops are now no different than any other ftrace_ops, the hash always gets updated and there's no reason to use the hash_enable boolean. The same goes for hash_disable used in ftrace_shutdown(). Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed