[PATCH v2 3/8] staging: vt6655: Remove unused `i` increments
From: Karolina Drobnik
Date: Mon Nov 01 2021 - 10:32:35 EST
Commit c569952d92ba ("staging: vt6655: Use incrementation in `idx`")
rendered the incrementation of `i` outside of the loop unnecessary
so it can be deleted.
Signed-off-by: Karolina Drobnik <karolinadrobnik@xxxxxxxxx>
---
drivers/staging/vt6655/rf.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/vt6655/rf.c b/drivers/staging/vt6655/rf.c
index c07653566d17..ea74701917e5 100644
--- a/drivers/staging/vt6655/rf.c
+++ b/drivers/staging/vt6655/rf.c
@@ -703,7 +703,6 @@ bool RFvWriteWakeProgSyn(struct vnt_private *priv, unsigned char rf_type,
MACvSetMISCFifo(priv, idx++, al2230_init_table[i]);
MACvSetMISCFifo(priv, idx++, al2230_channel_table0[channel - 1]);
- i++;
MACvSetMISCFifo(priv, idx++, al2230_channel_table1[channel - 1]);
break;
@@ -724,9 +723,7 @@ bool RFvWriteWakeProgSyn(struct vnt_private *priv, unsigned char rf_type,
}
MACvSetMISCFifo(priv, idx++, al7230_channel_table0[channel - 1]);
- i++;
MACvSetMISCFifo(priv, idx++, al7230_channel_table1[channel - 1]);
- i++;
MACvSetMISCFifo(priv, idx++, al7230_channel_table2[channel - 1]);
break;
--
2.30.2