KVM: vmx: remove unreachable statement in vmx_get_msr_feature()
Quoted 4 lines
I personally just prefer to remove the “default” case and change this “return 0;” to “return 1;”. But it’s a matter of taste of course.
Yes. As what " Turnip greens, all have love " said. ^_^
Quoted 6 lines · linmiaohe
Quoted 5 lines
I personally just prefer to remove the “default” case and change this “return 0;” to “return 1;”. But it’s a matter of taste of course.
Yes. As what " Turnip greens, all have love " said. ^_^
Actually it is a great appreciated to introduce something more useful instead of tons of cleanups, I saw guys did one cleanup and can incur several bugs before.
Wanpeng