diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-09-16 17:05:29 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2021-09-20 16:55:54 +0200 |
commit | 4403f8062abecf24794e0fd3a3e424cc63ba6662 (patch) | |
tree | d63181db99574ee5b435926248b75812b6fdb8ed /drivers/cpufreq | |
parent | d859ed25b24289c87a97889653596f8088367e16 (diff) | |
download | linux-stable-4403f8062abecf24794e0fd3a3e424cc63ba6662.tar.gz linux-stable-4403f8062abecf24794e0fd3a3e424cc63ba6662.tar.bz2 linux-stable-4403f8062abecf24794e0fd3a3e424cc63ba6662.zip |
xen/x86: drop redundant zeroing from cpu_initialize_context()
Just after having obtained the pointer from kzalloc() there's no reason
at all to set part of the area to all zero yet another time. Similarly
there's no point explicitly clearing "ldt_ents".
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrvsky@oracle.com>
Link: https://lore.kernel.org/r/14881835-a48e-29fa-0870-e177b10fcf65@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions