regmap: Remove incorrect unreachable comment in regcache_set_val()
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/base/regmap/regcache.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/base/regmap/regcache.c +0 -1
@@ -389,7 +389,6 @@ bool regcache_set_val(void *base, unsigned int idx,default :BUG (); } -/* unreachable */ return false; }
Signature · 1 line
1.7.5.4
Mark Brown
AppliedQuoted 2 lines · Axel Lin
regcache_set_val()returns false if cache[idx] != val. Thus it actually is not unreachable.
Applied, thanks.