From patchwork Thu Nov 12 19:00:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324237 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589222ils; Thu, 12 Nov 2020 11:01:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRjZs+15aSXMb01ANEPwygO5Z18OTREgPt+KVcYzuLkQxfnFkfdpVd9BhZpNgb2U8Vilyd X-Received: by 2002:a17:90a:fd08:: with SMTP id cv8mr582919pjb.203.1605207690308; Thu, 12 Nov 2020 11:01:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207690; cv=none; d=google.com; s=arc-20160816; b=KOC4CrPwEZV0xk4GgYgN4ThVVyl709kgU0cZ8hCp6bEQdQA1QAsI1g74+lFHMHVOtz f6zYWyM5HagJdwyRE+0xOEOVhGOhIRFyZPRKFTVIg647ipgFdJklnFIN/GeoTxdnTxRZ qONA3df6R5JY7mJx5iP/MwbHnVsaWRowFuXlS4qCJS5zHTqf3QIAlxQRrzQl4+AKZVCF WBvc9pWdrFSrW3rDjzME5YBWU8kKVsRWmCweOY3stgElqL/orXoNuGTKacUPyVlqYpO/ rIp08wRxA0J41nX4eYJdoDqMkIeZI5NH292df7hUMuXVlw7adyD0eqnCNcOzpJTR+/eR COFQ== 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=Dv/TBzmr1KBIKgV0SfHnUq62THR7nQn2xbDYX2Cpkoc=; b=ozFuDCSNVnSNDZsG8QYWvsmwuJDU4RQP5UELodqFr29EZnq2ymD2tNxIyYg/E16Xx7 skEvYXDKgZrPVeEoOLk9/sYRXwU9Pt9666DvM1KFAVLH/ahB530t31Xk5RkubZ+UKpot HuH/my1VPPeEtaBYriF9hetlbO0bXfqQMC/ydSRcIcb4RWfGM+ZXtjMYu+Qb/NqDvYeQ qBR4wdo0ME+/Ue4VRwEAZlEn6G2rcEaVJtkuNd+0lH2KQ8jxhIDDUN4nTFdXJb1sf2dw gxWW+N3mTdNvdY9wPT8+X+ghKlbzeki8TOLR/m0yEfzvv02kRboXhP+6d5Nwdnh23NAB Re3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Ou/EHKHa"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id e15si5583154pge.246.2020.11.12.11.01.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Ou/EHKHa"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 7CA376E3D2; Thu, 12 Nov 2020 19:01:26 +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 5CC686E3B7 for ; Thu, 12 Nov 2020 19:01:19 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id l1so7145704wrb.9 for ; Thu, 12 Nov 2020 11:01:19 -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=5obwl2HLa2hJZGgN7+byxbis29C9PE5dIA5hYQvye+A=; b=Ou/EHKHaEikqtJE8cSM3UeFbvQcGsPiJBRWhjq0TuVV/p+7lAQB2pg8b4Kd4VZd3N1 /ZIKy/fqiwlHuzVcGicWjs831K9oFyeMNkx15nOMF0ribAwncR+UlsMsN53nJxHpf8N9 HXUn3sdCI7FBbNOTOcZj2kanCeY73XcDbJJE9vCsZpZOtsDcws/JJn8heE5TwbNydQyK Z3uZJT4YcJlwukgQusZuPZoA6EJC5YxUtc1/Wr1tCOJBTIn9eMzncQXP0eUye5RR6Z85 LuqSc1Olu8pR4ucIVUaWvTlZPOaVBKThOibDWHfCJzrYn2QLuLp6Tgta/aAwympaqPdZ 59Og== 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=5obwl2HLa2hJZGgN7+byxbis29C9PE5dIA5hYQvye+A=; b=rx1n6aM3Jebijuni9TmbIufEePh6GVkkb34roRf861aMLPOaLH8MnY81H8wcNdem+z nOWYVP8FAG8oFPWe9ATuLPKtgfi2jrwe5nhePzRG9LUJ9BKGk9rWVpnwepJ4h5ugtm0y 2A3CZR/COXRlE6Nwcz+rxIUX6+IMbf+lBt+ELWJFtFeVemqOgoQk9h0fJTeirNitbc+J rggjvFdFf1FGxqpv5pTKcI6X7HfLXi6ZoVlIUHpnb25rrJUCWxqn+zdlbWPamnnK3YhQ eiGePH8rUYxp5L1zOzZsNMMad2k2AbIXSwE8bWpFFpBFeMofNkCMFhVQxvDJjfRpCEIO B1Bw== X-Gm-Message-State: AOAM530aO/3AmU7haBjE8MmKFRiMmMp9glajLgYZ7e04Qu41XSRcAhVN qpjj/BSZDrw0fs59zGYjcXkAuw== X-Received: by 2002:a5d:5222:: with SMTP id i2mr1116351wra.247.1605207677934; Thu, 12 Nov 2020 11:01:17 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 15/30] drm/amd/amdgpu/amdgpu_display: Remove pointless header Date: Thu, 12 Nov 2020 19:00:24 +0000 Message-Id: <20201112190039.2785914-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , report to , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" It seems only to repeat the function name. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:450: warning: Function parameter or member 'amdgpu_connector' not described in 'amdgpu_display_ddc_probe' drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:450: warning: Function parameter or member 'use_aux' not described in 'amdgpu_display_ddc_probe' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: report to Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index 0b134598b3a65..f4de4b41adcfd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c @@ -441,10 +441,6 @@ void amdgpu_display_print_display_setup(struct drm_device *dev) drm_connector_list_iter_end(&iter); } -/** - * amdgpu_display_ddc_probe - * - */ bool amdgpu_display_ddc_probe(struct amdgpu_connector *amdgpu_connector, bool use_aux) {