[PATCH 1/3] drm/amdgpu: delete duplicated printk info.

Rex Zhu Rex.Zhu at amd.com
Thu Mar 30 05:42:16 UTC 2017


Change-Id: I5f336cc41b1868b98f263874fe5c6ea20e430744
Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 57ccac4..eaf44fb 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -2288,9 +2288,6 @@ int amdgpu_device_resume(struct drm_device *dev, bool resume, bool fbcon)
 	if (r)
 		DRM_ERROR("amdgpu_resume failed (%d).\n", r);
 
-	if (r)
-		DRM_ERROR("amdgpu_resume failed (%d).\n", r);
-
 	amdgpu_fence_driver_resume(adev);
 
 	if (resume) {
-- 
1.9.1



More information about the amd-gfx mailing list