diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2017-02-14 02:42:36 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-03-08 09:23:28 +0100 |
commit | aa82dc3e00da63751bb9dfab26983037b79fc39d (patch) | |
tree | 81e8b465b61c2fe4f872f5a200803a72507d5e20 /block/blk-settings.c | |
parent | livepatch: separate enabled and patched states (diff) | |
download | linux-aa82dc3e00da63751bb9dfab26983037b79fc39d.tar.xz linux-aa82dc3e00da63751bb9dfab26983037b79fc39d.zip |
livepatch: remove unnecessary object loaded check
klp_patch_object()'s callers already ensure that the object is loaded,
so its call to klp_is_object_loaded() is unnecessary.
This will also make it possible to move the patching code into a
separate file.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions