mtd: onenand: remove unused variable assignments
authorBrian Norris <computersforpeace@gmail.com>
Wed, 28 Aug 2013 01:01:19 +0000 (18:01 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 27 Oct 2013 23:27:03 +0000 (16:27 -0700)
commit6b7368c2305657c5b94ff18f2c8c8a6d7040b45a
treece79e93c8121cbf25c31106abd36db9e5bf26a19
parentaaadd9819a128fb7ad988b6808581e3175859e2f
mtd: onenand: remove unused variable assignments

These variable assignments are never used (the variables are either
never used or are overwritten before use). This resolves some compiler
warnings like the following:

    drivers/mtd/onenand/onenand_base.c: In function 'flexonenand_get_boundary':
    drivers/mtd/onenand/onenand_base.c:3532:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    drivers/mtd/onenand/onenand_base.c: In function 'onenand_probe':
    drivers/mtd/onenand/onenand_base.c:3838:6: warning: variable 'maf_id' set but not used [-Wunused-but-set-variable]

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
drivers/mtd/onenand/onenand_base.c