aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2019-10-18 11:58:23 +0200
committerDavid Sterba <[email protected]>2019-11-18 12:47:01 +0100
commit32ab3d1b4d0c55daea9ba52c0f5d1363be21bf2a (patch)
tree0e3739445c1ca5fef1849f520c9a454815634f44 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent5ae216929069507efce3caff6f5618ec919cad11 (diff)
btrfs: remove pointless indentation in btrfs_read_sys_array()
Instead of checking if we've read a BTRFS_CHUNK_ITEM_KEY from disk and then process it we could just bail out early if the read disk key wasn't a BTRFS_CHUNK_ITEM_KEY. This removes a level of indentation and makes the code nicer to read. Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Johannes Thumshirn <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions