From: Wang Nan Date: Tue, 15 Jul 2014 00:40:20 +0000 (+0800) Subject: ftrace: Do not copy old hash when resetting X-Git-Tag: omap-for-v3.17/fixes-against-rc2~186^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b972cc58ced01ba2cf1f67b36bcfbb3ed4fa706e;p=pandora-kernel.git ftrace: Do not copy old hash when resetting Do not waste time copying the old hash if the hash is going to be reset. Just allocate a new hash and free the old one, as that is the same result as copying te old one and then resetting it. Link: http://lkml.kernel.org/p/1405384820-48837-1-git-send-email-wangnan0@huawei.com Signed-off-by: Wang Nan [ SDR: Removed unused ftrace_filter_reset() function ] Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed