x86/cpu/centaur: Replace two-condition switch-case with an if statement
authorTony W Wang-oc <TonyWWang-oc@zhaoxin.com>
Tue, 8 Sep 2020 10:57:45 +0000 (18:57 +0800)
committerBorislav Petkov <bp@suse.de>
Fri, 11 Sep 2020 08:50:01 +0000 (10:50 +0200)
commit8687bdc04128b2bd16faaae11db10128ad0da7b8
treec9bec0edfc5ea3f74ac6ad359d7ff490f51ab495
parent61aa9a0a5eae2100c171698bffabde8d5e9f694d
x86/cpu/centaur: Replace two-condition switch-case with an if statement

Use a normal if statements instead of a two-condition switch-case.

 [ bp: Massage commit message. ]

Signed-off-by: Tony W Wang-oc <TonyWWang-oc@zhaoxin.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/1599562666-31351-2-git-send-email-TonyWWang-oc@zhaoxin.com
arch/x86/kernel/cpu/centaur.c