Commit aa795d12 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

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: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 4191f197
......@@ -375,7 +375,6 @@ bool regcache_set_val(void *base, unsigned int idx,
default:
BUG();
}
/* unreachable */
return false;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment