]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mmcif: (cosmetic) simplify boolean return blocks
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 12 Dec 2012 14:38:13 +0000 (15:38 +0100)
committerChris Ball <cjb@laptop.org>
Mon, 11 Feb 2013 18:28:25 +0000 (13:28 -0500)
commitd575042c5b325b3cae4d116825e7c32865ad8c49
tree78dab93822ed260522ed61db1564de03cebb1ad7
parent0aff01184106c2741b887ab4fc9b52c32536dcc0
mmc: sh_mmcif: (cosmetic) simplify boolean return blocks

Use "return condition" instead of "if (condition) return true; return false"
in functions, returning bool.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c