From: Brian Norris Date: Wed, 28 Aug 2013 01:01:19 +0000 (-0700) Subject: mtd: onenand: remove unused variable assignments X-Git-Tag: v3.13-rc1~98^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b7368c2305657c5b94ff18f2c8c8a6d7040b45a;p=pandora-kernel.git 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 Cc: Kyungmin Park --- Reading git-diff-tree failed