mtd: nand_base: Removed unnecessary cleaning "onfi_version" variable
authorAlexander Shiyan <shc_work@mail.ru>
Thu, 28 Feb 2013 08:02:20 +0000 (12:02 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 11:56:53 +0000 (12:56 +0100)
commit0cca9fbf5d0a65fb536d38427f48460fda1f2e99
treef4db96eb6e2df985610b26ba5b9f6268969dcb30
parentfb066adadd224d5e46320b3fa7a80311c09be0d9
mtd: nand_base: Removed unnecessary cleaning "onfi_version" variable

Variable "onfi_version" is already set to zero before nand_flash_detect_onfi()
call, so additional cleaning is not necessary.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c