mtd: nand: fixup bounds checks for nand_{lock,unlock}()
authorBrian Norris <computersforpeace@gmail.com>
Sat, 28 Feb 2015 10:02:27 +0000 (02:02 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 11 Mar 2015 22:21:48 +0000 (15:21 -0700)
Coverity noticed that these 'ret' assignments weren't being used. Let's
use them.

Note that nand_lock() and nand_unlock() are still not officially used by
any drivers.

Coverity CIDs #1227054 and #1227037

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

Simple merge