mtd: nand: omap: drop condition with no effect
authorNicholas Mc Guire <hofrat@osadl.org>
Wed, 4 Feb 2015 17:24:06 +0000 (12:24 -0500)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 6 Feb 2015 03:51:08 +0000 (19:51 -0800)
commit0760e818646d801a13eed57f5fb75c43c7c2794a
tree934952af871e3d44303cd1ad8548bd62f86a417f
parentcd145af998886bf3c596cb7b6ddc55a287b76e76
mtd: nand: omap: drop condition with no effect

The if and the else branch code are identical - so the condition has no
effect on the effective code. This patch removes the condition and the
duplicated code and updates the documentation as suggested by
Roger Quadros <rogerq@ti.com>.

Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: Pekon Gupta <pekon@pek-sem.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/omap2.c
This page took 0.025604 seconds and 5 git commands to generate.