We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac178a2 commit 2212c19Copy full SHA for 2212c19
drivers/mtd/nand/raw/omap_elm.c
@@ -282,7 +282,7 @@ static void elm_start_processing(struct elm_info *info,
282
static void elm_error_correction(struct elm_info *info,
283
struct elm_errorvec *err_vec)
284
{
285
- int i, j, errors = 0;
+ int i, j;
286
int offset;
287
u32 reg_val;
288
@@ -312,8 +312,6 @@ static void elm_error_correction(struct elm_info *info,
312
/* Update error location register */
313
offset += 4;
314
}
315
-
316
- errors += err_vec[i].error_count;
317
} else {
318
err_vec[i].error_uncorrectable = true;
319
0 commit comments