]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: mtdcore: remove unnecessary mtd->resume check
authorBrian Norris <computersforpeace@gmail.com>
Fri, 27 Jan 2012 20:39:32 +0000 (12:39 -0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:20:18 +0000 (00:20 +0100)
commit2a917517faa9799fb870ebcc85f9fdc9342af0b5
tree5a85a3563f663ae1e2725969f77dc52bb0525c4b
parentbd20e04f06b5b649160ca6b48d4947acca816990
mtd: mtdcore: remove unnecessary mtd->resume check

We don't need to to check for mtd->resume before calling mtd_resume().
mtd_resume() should take care of that.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdcore.c