Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -375,7 +375,6 @@ bool regcache_set_val(void *base, unsigned int idx,
	default:
	default:
		BUG();
		BUG();
	}
	}
	/* unreachable */
	return false;
	return false;
}
}