livepatch: Call klp_match_callback() in klp_find_callback() to avoid code duplication
The implementation of function klp_match_callback() is identical to the partial implementation of function klp_find_callback(). So call function klp_match_callback() in function klp_find_callback() instead of the duplicated code. Signed-off-by:Zhen Lei <thunder.leizhen@huawei.com> Acked-by:
Song Liu <song@kernel.org> Reviewed-by:
Petr Mladek <pmladek@suse.com> Suggested-by:
Petr Mladek <pmladek@suse.com> Signed-off-by:
Luis Chamberlain <mcgrof@kernel.org>
Loading
Please register or sign in to comment