commit | 649658972ca923250019ca15e4ddd98bf28bf123 | [log] [tgz] |
---|---|---|
author | Jan Beulich <jbeulich@suse.com> | Tue Jun 15 08:00:17 2021 +0200 |
committer | Jan Beulich <jbeulich@suse.com> | Tue Jun 15 08:00:17 2021 +0200 |
tree | bc9be5d01b7e506c526ba335b8b6d9e0d045c3ca | |
parent | a50187b2c6c28be79a32332e06a572cf08683de3 [diff] |
x86: slightly simplify offset_in_range() Applying a mask with all bits set (or its inverse, with hence all bits clear) won't alter the result (or won't trigger the warning). Re-arrange the code to eliminate two more of the somewhat odd (2 << width_minus_1) constructs.