[PATCH] drm/amdgpu: clean up to set fw_offset as 0 twice
Alex Deucher
alexdeucher at gmail.com
Wed Sep 28 18:59:45 UTC 2016
On Wed, Sep 28, 2016 at 4:07 AM, Huang Rui <ray.huang at amd.com> wrote:
> Signed-off-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> index 7a05f79..cb3d252 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> @@ -273,7 +273,6 @@ int amdgpu_ucode_init_bo(struct amdgpu_device *adev)
>
> amdgpu_bo_unreserve(*bo);
>
> - fw_offset = 0;
> for (i = 0; i < AMDGPU_UCODE_ID_MAXIMUM; i++) {
> ucode = &adev->firmware.ucode[i];
> if (ucode->fw) {
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list