mtd: docg3: drop dead code
authorBrian Norris <computersforpeace@gmail.com>
Mon, 9 Mar 2015 17:18:16 +0000 (10:18 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 11 Mar 2015 22:21:19 +0000 (15:21 -0700)
commitdc52499e7f2d9812cfa4aa3b8d84a3f2c97e068b
tree5ad776455c3216b9818f321aaa8bd8e7530756cd
parent98ebb521096f2d90c3e903ba79412cd92064795b
mtd: docg3: drop dead code

If no devices were found, we would already have skipped over this code.

Detected by Coverity, CID #744270

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
drivers/mtd/devices/docg3.c