]> git.baikalelectronics.ru Git - kernel.git/commit
PM: hibernate: Add __init annotation to swsusp_header_init()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 31 May 2020 21:00:59 +0000 (23:00 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 5 Jun 2020 11:52:38 +0000 (13:52 +0200)
commitd6167073b7e2befef594d30f2c3b2693692f8ae5
treeb5bafe2f5685d8fd3f1a125c396ad2b647bbbd8e
parentdfd78666f6c488edc8a3c25d1d21f2ae2a15dae2
PM: hibernate: Add __init annotation to swsusp_header_init()

'swsusp_header_init()' is only called via 'core_initcall'.
It can be marked as __init to save a few bytes of memory.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/swap.c