[PATCH 3/7] staging: vt6655: Remove unused `i` increments

Karolina Drobnik
2021-10-28T10:36:06Z

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@gmail.com>
---
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