ARM: OMAP3+: SmartReflex: micro-optimization for sanity check
authorFelipe Balbi <balbi@ti.com>
Wed, 29 Feb 2012 22:33:47 +0000 (23:33 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 15 May 2016 12:43:21 +0000 (15:43 +0300)
commit33e870668c1a84825be845cfdae81d16f1ccb96c
treeaf96241b223980a67e24114a3cdf5538d17a6f2f
parent3a5f34bef912b401e91430b0deaff7c8ea2a5a34
ARM: OMAP3+: SmartReflex: micro-optimization for sanity check

val && (val != 1) == val > 1

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/smartreflex.c