mtd: nand: Remove in vain memset() in nand_onfi_get_features()
authorRichard Weinberger <richard@nod.at>
Wed, 25 Mar 2015 13:33:09 +0000 (14:33 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 May 2015 06:44:31 +0000 (23:44 -0700)
commit0aec7ac997b784dfc83125cd120d2bd5d3851eb6
tree5d37a8846800e3f453c8c18a8d4e1941322ffbd2
parent666104436543d171b8b1a7213fd1d8bbef1361d5
mtd: nand: Remove in vain memset() in nand_onfi_get_features()

As all four bytes are written in any case the memset() is in vain.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c