mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
drm/amd/ras: Remove redundant error log
amdgpu_ras_inject_error() currently prints an extra "ras inject block %u failed" message, remove the redundant log. Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com> Reviewed-by: YiPeng Chai <YiPeng.Chai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
f9db1378f1
commit
0b57f1380c
|
|
@ -119,11 +119,6 @@ static int amdgpu_ras_inject_error(struct ras_core_context *ras_core,
|
|||
amdgpu_ras_trigger_error_prepare(ras_core, req);
|
||||
ret = rascore_handle_cmd(ras_core, cmd, data);
|
||||
amdgpu_ras_trigger_error_end(ras_core, req);
|
||||
if (ret) {
|
||||
RAS_DEV_ERR(adev, "ras inject block %u failed %d\n", req->block_id, ret);
|
||||
ret = RAS_CMD__ERROR_ACCESS_DENIED;
|
||||
}
|
||||
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user