remove useless variable

Change-Id: Iec4cfc709544644129bb8638e16db3c9a03bffc8
This commit is contained in:
Zhanglong Xia 2024-10-08 11:41:49 +08:00
commit 6bef5125d3

View file

@ -754,7 +754,6 @@ public final class ThreadNetworkController {
for (int i = 0; i < channelMaxPowers.size(); i++) {
int channel = channelMaxPowers.keyAt(i);
int maxPower = channelMaxPowers.get(channel);
if ((channel < ActiveOperationalDataset.CHANNEL_MIN_24_GHZ)
|| (channel > ActiveOperationalDataset.CHANNEL_MAX_24_GHZ)) {