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)
commit3ee5014185b9041fcb27eef34c83487ce77dd9d3
tree5a85a3563f663ae1e2725969f77dc52bb0525c4b
parent3e3417402b3bcaf0faf7995d426b848d7aa17c6e
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