Commit a225bf1c authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: add missing breaks

Saves a few CPU cycles.
Reviewed-by: default avatarChunming zhou <david1.zhou@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5dbbb60b
......@@ -1080,6 +1080,7 @@ int amdgpu_set_clockgating_state(struct amdgpu_device *adev,
state);
if (r)
return r;
break;
}
}
return r;
......@@ -1097,6 +1098,7 @@ int amdgpu_set_powergating_state(struct amdgpu_device *adev,
state);
if (r)
return r;
break;
}
}
return r;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment