mtd: nand: remove unused function input parameter
authorCai Zhiyong <caizhiyong@huawei.com>
Wed, 25 Dec 2013 12:11:15 +0000 (20:11 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 11 Mar 2014 05:42:30 +0000 (22:42 -0700)
commitbb77082fa2584f0855e614e99b5ffd40b9cf4251
treec93116bbdcb88bc49f9ba15e2e3c169c4e9a32f9
parente634ce51baa52c131e4a35c01bba9e596a0eb86d
mtd: nand: remove unused function input parameter

The nand_get_flash_type parameter "busw" input value is not used by any
branch, and it is updated before use it in the function, so remove it,
define the "busw" as an internal variable.

Signed-off-by: Cai Zhiyong <caizhiyong@huawei.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c