OSDN Git Service

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)
commitb1a2348a1ac1380adf429035dbf3fdad0d5367bc
tree4c572468b5ea194554e4eebeb9cd3ebd674d1dd6
parentb9da8bae416efda5ad61c7c92edbb30de15ff7ee
mtd: nand: fixup bounds checks for nand_{lock,unlock}()

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