staging: echo: remove unused variable
the variable j isn't used in the loop Signed-off-by: Cong Ding <dinggnu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e02b124629
commit
c020a7a4ea
|
@ -119,7 +119,6 @@
|
||||||
static inline void lms_adapt_bg(struct oslec_state *ec, int clean, int shift)
|
static inline void lms_adapt_bg(struct oslec_state *ec, int clean, int shift)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int j;
|
|
||||||
int offset1;
|
int offset1;
|
||||||
int offset2;
|
int offset2;
|
||||||
int factor;
|
int factor;
|
||||||
|
@ -142,7 +141,7 @@ static inline void lms_adapt_bg(struct oslec_state *ec, int clean, int shift)
|
||||||
|
|
||||||
/* asm("st:"); */
|
/* asm("st:"); */
|
||||||
n = ec->taps;
|
n = ec->taps;
|
||||||
for (i = 0, j = offset2; i < n; i++, j++) {
|
for (i = 0; i < n; i++) {
|
||||||
exp = *phist++ * factor;
|
exp = *phist++ * factor;
|
||||||
ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15);
|
ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue