From: Josh Poimboeuf Date: Mon, 9 Feb 2015 17:31:13 +0000 (-0600) Subject: livepatch: simplify disable error path X-Git-Tag: omap-for-v4.2/o2_dc~151^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0937e3b025f70e33f018aa55ee8d32b8731730a7;p=pandora-kernel.git livepatch: simplify disable error path If registering the function with ftrace has previously succeeded, unregistering will almost never fail. Even if it does, it's not a fatal error. We can still carry on and disable the klp_func from being used by removing it from the klp_ops func stack. Signed-off-by: Josh Poimboeuf Reviewed-by: Miroslav Benes Reviewed-by: Petr Mladek Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed