[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250904081356.1310984-1-cuitao@kylinos.cn>
Date: Thu, 4 Sep 2025 16:13:55 +0800
From: cuitao <cuitao@...inos.cn>
To: yangtiezhu@...ngson.cn
Cc: chenhuacai@...nel.org,
cuitao@...inos.cn,
kernel@...0n.name,
kvm@...r.kernel.org,
linux-kernel@...r.kernel.org,
loongarch@...ts.linux.dev,
maobibo@...ngson.cn,
zhaotianrui@...ngson.cn
Subject: Re: [PATCH] LoongArch: KVM: remove unused returns.
Thanks for the review.
My initial idea was to remove the switch-case structure.
However, after checking the case value KVM_FEATURE_STEAL_TIME,
I found there are 13 parallel definitions—and it is unclear when
this part of the development will be completed later. Therefore,
I temporarily retained the switch-case structure.
Now, I have updated the patch according to your suggestion:
- Replaced `switch` with `if` since there is only one case.
- Removed the redundant semicolon after the block.
Please see the updated patch below.
Thanks,
Tiezhu
Powered by blists - more mailing lists