Re: [PATCH] KVM: vmx: remove unreachable statement in vmx_get_msr_feature()

From: linmiaohe
Date: Thu Dec 05 2019 - 22:41:40 EST


Wanpeng Li <kernellwp@xxxxxxxxx> wrote:
>>
>> >
>> >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.
>
I'd like to introduce something more useful, but side corner cleanups may be hard to
found out something to introduce. And such cleanups can also be validated by code inspection
to avoid something bad. Many thanks.