aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-10-12 08:33:21 +0000
committerDavid Sterba <[email protected]>2016-10-24 16:20:29 +0000
commit9c894696f56f5d84fb5766af81bcda4a7cb9a842 (patch)
treeec9abee1550c947b9effa966fe2281e450d3797f /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentbtrfs: pass correct args to btrfs_async_run_delayed_refs() (diff)
downloadkernel-9c894696f56f5d84fb5766af81bcda4a7cb9a842.tar.gz
kernel-9c894696f56f5d84fb5766af81bcda4a7cb9a842.zip
Btrfs: remove some no-op casts
We cast 0 to a u8 but then because of type promotion, it's immediately cast to int back to int before we do a bitwise negate. The cast doesn't matter in this case, the code works as intended. It causes a static checker warning though so let's remove it. Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions