diff options
author | Cong Ding <dinggnu@gmail.com> | 2012-12-04 01:21:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 14:03:31 -0800 |
commit | c020a7a4ea3bfd85afc1d2b5e18414252f18fe98 (patch) | |
tree | 88a76cd657d66aca5e631e63afea10dc5cde5744 /drivers/staging/echo | |
parent | e02b124629dc3d9928dd1af76864d1104ea8e810 (diff) | |
download | linux-c020a7a4ea3bfd85afc1d2b5e18414252f18fe98.tar.bz2 |
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>
Diffstat (limited to 'drivers/staging/echo')
-rw-r--r-- | drivers/staging/echo/echo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/echo/echo.c b/drivers/staging/echo/echo.c index ca87ce9874b1..14dfd91ab5d2 100644 --- a/drivers/staging/echo/echo.c +++ b/drivers/staging/echo/echo.c @@ -119,7 +119,6 @@ static inline void lms_adapt_bg(struct oslec_state *ec, int clean, int shift) { int i; - int j; int offset1; int offset2; int factor; @@ -142,7 +141,7 @@ static inline void lms_adapt_bg(struct oslec_state *ec, int clean, int shift) /* asm("st:"); */ n = ec->taps; - for (i = 0, j = offset2; i < n; i++, j++) { + for (i = 0; i < n; i++) { exp = *phist++ * factor; ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); } |