summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2022-12-07 11:23:04 +0800
committerLuis Chamberlain <mcgrof@kernel.org>2022-12-12 18:30:58 -0800
commit4f1354d5c6a3264c91238962d1597eef40c40419 (patch)
treee90a5d03d5af222a782b6c930fa1cac7e7af543c /init
parent169a58ad824d896b9e291a27193342616e651b82 (diff)
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions