summaryrefslogtreecommitdiff
path: root/drivers/mtd/parsers/afs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/parsers/afs.c')
-rw-r--r--drivers/mtd/parsers/afs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/parsers/afs.c b/drivers/mtd/parsers/afs.c
index 752b6cf005f7..980e332bdac4 100644
--- a/drivers/mtd/parsers/afs.c
+++ b/drivers/mtd/parsers/afs.c
@@ -126,8 +126,8 @@ static int afs_parse_v1_partition(struct mtd_info *mtd,
* Static checks cannot see that we bail out if we have an error
* reading the footer.
*/
- u_int uninitialized_var(iis_ptr);
- u_int uninitialized_var(img_ptr);
+ u_int iis_ptr;
+ u_int img_ptr;
u_int ptr;
size_t sz;
int ret;