mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
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 <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
4191f19792
commit
aa795d1292
1 changed files with 0 additions and 1 deletions
|
|
@ -375,7 +375,6 @@ bool regcache_set_val(void *base, unsigned int idx,
|
|||
default:
|
||||
BUG();
|
||||
}
|
||||
/* unreachable */
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue