summaryrefslogtreecommitdiff
path: root/drivers/staging/spectra
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2010-07-17 16:42:19 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-23 18:15:34 -0700
commit676cecaaddd09bbe41a38b1d15f190da10087294 (patch)
tree78b6afdf8f7b8a4a68746fa9b492a44becd598d1 /drivers/staging/spectra
parentc321da6dc53cd692dc2db82686d5dfd150a3b817 (diff)
Staging: spectra: removes unused variable
Fix a compile warning by removing an unused variable int i. Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/spectra')
-rw-r--r--drivers/staging/spectra/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/spectra/flash.c b/drivers/staging/spectra/flash.c
index 134aa5166a8d..a0d60942fda5 100644
--- a/drivers/staging/spectra/flash.c
+++ b/drivers/staging/spectra/flash.c
@@ -775,7 +775,7 @@ static void dump_cache_l2_table(void)
{
struct list_head *p;
struct spectra_l2_cache_list *pnd;
- int n, i;
+ int n;
n = 0;
list_for_each(p, &cache_l2.table.list) {