commit | 2e3ac940f2754d7dc616aba1643a668954fe892f | [log] [tgz] |
---|---|---|
author | Josh Poimboeuf <jpoimboe@redhat.com> | Tue Mar 03 17:02:21 2015 -0600 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Mar 04 22:47:47 2015 +0100 |
tree | 26b3d88715fd1fc78db8168265d63a09d4eb890c | |
parent | 0937e3b025f70e33f018aa55ee8d32b8731730a7 [diff] |
livepatch: remove unnecessary call to klp_find_object_module() klp_find_object_module() is called from both the klp register and enable paths. Only the call from the register path is necessary because the module notifier will let us know if the patched module gets loaded or unloaded. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Jiri Kosina <jkosina@suse.cz>