diff options
author | Petr Mladek <[email protected]> | 2019-05-03 15:26:25 +0200 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2019-05-03 21:11:23 +0200 |
commit | f68d67cf2f83dc82675969724b59ca7c6da43fa9 (patch) | |
tree | 6e31bc1427031d1cf8321f4fa0aece2aa7feb4c7 /mm/memblock.c | |
parent | 4d141ab3416d90f87775f5dee725efdf40110a8f (diff) |
livepatch: Remove duplicated code for early initialization
kobject_init() call added one more operation that has to be
done when doing the early initialization of both static and
dynamic livepatch structures.
It would have been easier when the early initialization code
was not duplicated. Let's deduplicate it for future generations
of livepatching hackers.
The patch does not change the existing behavior.
Signed-off-by: Petr Mladek <[email protected]>
Reviewed-by: Kamalesh Babulal <[email protected]>
Acked-by: Joe Lawrence <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'mm/memblock.c')
0 files changed, 0 insertions, 0 deletions