projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e02b124
)
staging: echo: remove unused variable
author
Cong Ding
<dinggnu@gmail.com>
Tue, 4 Dec 2012 01:21:44 +0000
(
01:21
+0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:03:31 +0000
(14:03 -0800)
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>
drivers/staging/echo/echo.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/echo/echo.c
b/drivers/staging/echo/echo.c
index ca87ce9874b1986c89570db3a0ef941c2c9a3406..14dfd91ab5d2335e808debdf82cbc840d695fb6d 100644
(file)
--- 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);
}