diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-07-10 10:55:13 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-07-22 19:19:44 +0200 |
commit | ba88935b0fac2588b0a739f810b58dfabf7f92c8 (patch) | |
tree | eb220b7fd5ec5cee655dfcdc379a74c61a0c4cc4 /module-common.c | |
parent | 5895879aca252f4ebb2d1078eaf836c61ec54e9b (diff) | |
download | qemu-ba88935b0fac2588b0a739f810b58dfabf7f92c8.zip qemu-ba88935b0fac2588b0a739f810b58dfabf7f92c8.tar.gz qemu-ba88935b0fac2588b0a739f810b58dfabf7f92c8.tar.bz2 |
hpet: place read-only bits directly in "new_val"
The variable "val" is used for two different purposes. As an intermediate
value when writing configuration registers, and to store the cleared bits
when writing ISR.
Use "new_val" for the former, and rename the variable so that it is clearer
for the latter case.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions