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: v3.4-rc1~126^2~19 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aa795d129246cb4c973076e3242b8a2eb374f1ef;p=karo-tx-linux.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 99beccfad4d7..7e18d1e70f12 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; }