module: Remove accidental change of module_enable_x()
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 9 Dec 2019 15:33:30 +0000 (10:33 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 10 Dec 2019 18:53:43 +0000 (13:53 -0500)
commitaf74262337faa65d5ac2944553437d3f5fb29123
treec1a3b157d9286c395931375f3b10e09c2002c2a7
parenta356646a56857c2e5ad875beec734d7145ecd49a
module: Remove accidental change of module_enable_x()

When pulling in Divya Indi's patch, I made a minor fix to remove unneeded
braces. I commited my fix up via "git commit -a --amend". Unfortunately, I
didn't realize I had some changes I was testing in the module code, and
those changes were applied to Divya's patch as well.

This reverts the accidental updates to the module code.

Cc: Jessica Yu <jeyu@kernel.org>
Cc: Divya Indi <divya.indi@oracle.com>
Reported-by: Peter Zijlstra <peterz@infradead.org>
Fixes: e585e6469d6f ("tracing: Verify if trace array exists before destroying it.")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/module.c