From: Axel Lin Date: Tue, 31 Jan 2012 03:48:18 +0000 (+0800) Subject: regmap: Remove incorrect unreachable comment in regcache_set_val() X-Git-Tag: upstream/snapshot3+hdmi~7903^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa795d129246cb4c973076e3242b8a2eb374f1ef;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git regmap: Remove incorrect unreachable comment in regcache_set_val() regcache_set_val() returns false if cache[idx] != val. Thus it actually is not unreachable. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c index 99beccf..7e18d1e 100644 --- a/drivers/base/regmap/regcache.c +++ b/drivers/base/regmap/regcache.c @@ -375,7 +375,6 @@ bool regcache_set_val(void *base, unsigned int idx, default: BUG(); } - /* unreachable */ return false; }