Re: [PATCH -next] net: mvneta: Remove unused variables 'i'

From: Chen Zhongjin
Date: Fri Oct 07 2022 - 21:59:32 EST


On 2022/9/30 23:51, Jakub Kicinski wrote:
On Mon, 10 Oct 2022 11:25:06 +0800 Chen Zhongjin wrote:
Reported by Clang [-Wunused-but-set-variable]

'commit cad5d847a093 ("net: mvneta: Fix the CPU choice in mvneta_percpu_elect")'
This commit had changed the logic to elect CPU in mvneta_percpu_elect().
Now the variable 'i' is not used in this function, so remove it.
Please fix the date on your system. Your patches are sent with the date
over a week in the future.

Please note that we have a 24h wait period so you need to wait at least
a day before you resend anything.

Sorry for late reply cuz I'm just back for work today.

Thanks for the tips. I'll fix the date problem and post it after 6.1-rc1.

Best,
Chen