From patchwork Fri Nov 13 13:49:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324317 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214163ils; Fri, 13 Nov 2020 05:52:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXDlXYnvuTE9o4B9v6r5WoTugJHvMBX0w0hz+OcUqv6gLZM7DjzV/7bzlmSq+0qvVcxH/I X-Received: by 2002:a17:902:d713:b029:d6:c5aa:c163 with SMTP id w19-20020a170902d713b02900d6c5aac163mr2067456ply.59.1605275443020; Fri, 13 Nov 2020 05:50:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275443; cv=none; d=google.com; s=arc-20160816; b=fa0TnuJDYfFeiUk040xNNkfXbjC6HzeWHJ++uhHmvFsfbsi6JhB4XrnvDnhKzYvh9I ffxrZ1tD4oWBDZWRUR5FyW+xZlI46pStnBRrE7r5JuDKf5ia0caFdFRHteC9jsrFxFUb Oux1/OC8QCwT7b7+HrdfszCjQx/+f69PXdyepRTmqNXZzkpPELiEpK5pLrT4wRRRw0fR lPhXywOeeN2evjEjd1npBFpStB38gRnnoCI45cbvpZypgTX1Jv29yDTdGlczNQFcP0GV Q08vO/Fz6kAcAIsCHzjglRS06rhHqa8uAB30lnCxmfcErTxCrbheUJ26EQHCyV3LplNq ffVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=O3WS1WYHCqB6uGCjRG8DTI7aC75V0Cog0d2aG9y6/3Q=; b=RmcRQNt8xJA3dLHlNPja1XvtCnwC+U6SYvGvlg29Xyo9XxDWlIpvl3nVjBtFBHFHnd JnVt7zbz3MyWU9WOt1/x7GDZ2oYtqHDCwQ9ekqKD7yfArJnbwGD+DJhK9KygjyOWN6+F JCapLwx1dhYvaiK29d8Dm65td4DNC+1P5YQha+abAGI1qWz78sVAn6SWjJd8laaJX3Eg Quz7zgDnQC1g0M/cFT6Ehfb0BvYptgr47hWfBMqc3NDlMn7uFXRgkPFZV/nYNHyil/vO T/4Mip+QQD/gE91KKHgtCMdsNP+QPF634uTtvJkZkSlU1r0U5ySPEGrYX4haGvqut8c9 4k7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XgoN5URO; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id g1si8153370plq.81.2020.11.13.05.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XgoN5URO; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4ADFF6E511; Fri, 13 Nov 2020 13:50:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 615166E513 for ; Fri, 13 Nov 2020 13:50:16 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id j7so10001991wrp.3 for ; Fri, 13 Nov 2020 05:50:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q9ZMy9yV2j61eWz6SjAdF0UqQLfaNl51XLKZiRseNxA=; b=XgoN5UROCU74VPm0D6Gls7Y1ukWa5LQzEWehKotsuQV5kktrJh+HttfN1sHyw4l5/g 07v8zOyhGYA21GAy3RlWbSHEisIPtE2LF/+VLLhtjSmvQb9dsNSMY8L2xN66Zlf1K7d8 6RF4WZoD0y0TB3RoLJURUnsMHyS2azk2aYXQZxPAquIrGnFIviJ3lIttEqdiQpCFFgRM lWoNVox2yrau1SurBJYU+y2EscCGmhnVbuO15ymULXP0EtxutOTj1R90QiCX96UWYX1g 32HpSCBEM3I6h15HD6MxmSj/7jJP+vEtL6UHjfQKpbWwHuzPJrvM59B9DjLlElzF+Wim CX9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=q9ZMy9yV2j61eWz6SjAdF0UqQLfaNl51XLKZiRseNxA=; b=O31uU9MywwMUYlOh0QDy1aXXsenLXkhmhlOF7lTSSo+bkPlFrLKH7m6gNHdatZMT/L RLapw2nZyP0PSsrgubTB85NkldvK5cqYEHc81uz15kVCZuAA11TboTU/36zHyxibcDJ3 a+UQVWfrNwMcoLNQSYK6Z7YOEJVKVDl4jToNFlaj0zSpGQd7cvF1SbAKXqHs+oUzzD5S lz0KTuUKZw+OLZfHMRDKNCRP0/+gF+2DzXBuzfTEIzE2/hwo3M2CvA9BKbPlEpDudd4n PjEcON3uVSUeMEBhLWqACZGa+PPubsKLz/qih9JMVZhTyp0Cc6nGe2zvPPFqwq4nQxK5 CKqg== X-Gm-Message-State: AOAM531nexGbaAglaffqbD6hDFff9XImtByflUm319d4RBtoDNJsUTqm ah7TSQsAOcJhmVbVsyCRfyAoOQ== X-Received: by 2002:adf:e945:: with SMTP id m5mr3445312wrn.98.1605275414993; Fri, 13 Nov 2020 05:50:14 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 27/40] drm/amd/amdgpu/amdgpu_ras: Remove unused function 'amdgpu_ras_error_cure' Date: Fri, 13 Nov 2020 13:49:25 +0000 Message-Id: <20201113134938.4004947-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:908:5: warning: no previous prototype for ‘amdgpu_ras_error_cure’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index b96267068a72d..f89a991999428 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -905,13 +905,6 @@ int amdgpu_ras_error_inject(struct amdgpu_device *adev, return ret; } -int amdgpu_ras_error_cure(struct amdgpu_device *adev, - struct ras_cure_if *info) -{ - /* psp fw has no cure interface for now. */ - return 0; -} - /* get the total error counts on all IPs */ unsigned long amdgpu_ras_query_error_count(struct amdgpu_device *adev, bool is_ce)