提交 aa795d12 编写于 作者: A Axel Lin 提交者: 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: NAxel Lin <axel.lin@gmail.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 4191f197
......@@ -375,7 +375,6 @@ bool regcache_set_val(void *base, unsigned int idx,
default:
BUG();
}
/* unreachable */
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册