diff options
| author | Hongbo Li <[email protected]> | 2024-09-02 13:11:23 +0000 |
|---|---|---|
| committer | Mikulas Patocka <[email protected]> | 2024-09-02 14:53:53 +0000 |
| commit | 26207c6332e83583a74228da9e5278d4fe5d26cf (patch) | |
| tree | 4a5d0bf4d4d3c043889639c31ba92392a94c86ce /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | dm integrity: Remove extra unlikely helper (diff) | |
| download | kernel-26207c6332e83583a74228da9e5278d4fe5d26cf.tar.gz kernel-26207c6332e83583a74228da9e5278d4fe5d26cf.zip | |
dm: Make use of __assign_bit() API
We have for some time the __assign_bit() API to replace
open coded
if (foo)
__set_bit(n, bar);
else
__clear_bit(n, bar);
Use this API to simplify the code. No functional change
intended.
Signed-off-by: Hongbo Li <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
