Skip to content
Commit 50c66d7b authored by Yuntao Wang's avatar Yuntao Wang Committed by Borislav Petkov (AMD)
Browse files

x86/setup: Move duplicate boot_cpu_data definition out of the ifdeffery



Both the if and else blocks define an exact same boot_cpu_data variable, move
the duplicate variable definition out of the if/else block.

In addition, do some other minor cleanups.

  [ bp: Massage. ]

Signed-off-by: default avatarYuntao Wang <ytcoode@gmail.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20220601122914.820890-1-ytcoode@gmail.com
parent b7d1f15b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment