Message ID | 20210303134319.3160762-19-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5133129jap; Wed, 3 Mar 2021 05:44:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWwFD6TGW+gOMrKCWPMFF/wPugDv/ZUl5lvEuPmcNMf8PH7f+F/jn8TmDg2B8iPyFb/g1t X-Received: by 2002:aa7:8ad5:0:b029:1df:5a5a:80e1 with SMTP id b21-20020aa78ad50000b02901df5a5a80e1mr24788472pfd.52.1614779055401; Wed, 03 Mar 2021 05:44:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779055; cv=none; d=google.com; s=arc-20160816; b=JEz/+urbyo1VmGnGRrEh+UO6+pcZNpFTx6dVarxInPZjeFRlzrHARR1ReEUizQX5lX mqDUHJZA8lKLk66NAsItDkcC6Nv0gsO0Zdp3xRlv62odjQ9zOp9wEst04HVbYAgzS20/ HjvtS4TEwoSNmBnVE/xWGP9ATgWjggexzPtl5xDBVCazCY8Xde5pojS8A64wfQTzr0pn YVqaVFNiHjOR7mepGClk/zZqKANZa9VWiwwVi1fx6j2hcF1TEfbbVJzKzcpgZ8733hDz 04PAR+wbKqSPVMoDiYONzDH1n7r4AHDo99nz/fmV6K3WBbuYlCpZ7Ix4LA9ag/qg74ux kOfg== 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=y8jOaxtElLQfRw0/wyZGdQJBRPprlkf1XzdhEe6Q4As=; b=KX7z/95UULI2y0F2KCMpG2Sf196rytRvsJb+2qrGkRTGGTsDENC3t+q2Uz/NxHkmi5 VgWyGRfrB9CmBu3xLxQgVAwUtprQxMFgl7MAYk+3ha/tSzqnyaiyg0F2MpyVSmeLhjHa ehxPcz9ihU/Qf/uNd+UGerpb/wHOL3ailQZ2cv/r52VAvNrzZKpbE9bV2MsC9vjoZpk3 cfCl3R3Vzj17alTjzYFJWCNxBwRAYLmC708jUK9NIhmiq4pwaTKiivO37UHUDfwrmoIr Wb3dB0ZVSEgAr7NoANb49G0s21PUV/kF3idjy6k8OCjopm58yD3erjNK6RzrBQ7zmZJs cwKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DDM5R4xs; 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: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id s6si23780983pfh.146.2021.03.03.05.44.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:44:15 -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=DDM5R4xs; 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 CD3D76E8F3; Wed, 3 Mar 2021 13:43:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id 81BFA6E8F9 for <dri-devel@lists.freedesktop.org>; Wed, 3 Mar 2021 13:43:50 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id o16so6405640wmh.0 for <dri-devel@lists.freedesktop.org>; Wed, 03 Mar 2021 05:43:50 -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=lgIHEbwNozF8CQjai0jy8D0j5kT9wSfHdAr6OHIEyt8=; b=DDM5R4xsGiTVpRIEPuVyLljyb6ERGlg1KlQqC4FxmUKm7EgZzmf3FUqCqwRnWSzS1M W1Jt8E+Xi1w8AAO3crFj2UNIosYF9a5C5S2xPLVYbdKOz4DNyidBnrZNgND5NXGIo82m MwolqE2yBrUUnTQZgwYF00WIuelEBzNqvX5BX16/ko2vetUGo9U2CNIOEW1iva5w9dQL DzKQexO8SiTvO2U2ipzDN5VfW8AFExyg6NFrMlYQ0qSEmUutSy3cpsMN39c5j9UJa9xm IMN58C0+q+YtF2ntzuUIWAwHfQ8+AGB8BtnY9hrIBv3Y9aGYwpn2ACZZVULICZMS4JQw 3qrA== 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=lgIHEbwNozF8CQjai0jy8D0j5kT9wSfHdAr6OHIEyt8=; b=t0vGTXr/C/gvrsscZ5f3oJm7Aa08Z1tDs92mdkX4vsSvv6YXI5RaWlA7rzqgWkUt+I PSxqtldKVc2/Sb6Uu2qd5AhF7oDTCsgqmhy/W+CllA9seRKK056g//Q2L8rV5a9RjZmC sumZYm578fH+OcIYpGNa7CY+iN3kkOIDUEQfDZML4j2n0zt1hAIJ1TkgT63Jq+Yef7oo 3/JCoMhHpYhCol50tEPoqupGnJ3fYKMWHOFmZsiILjEK7p3G44Km0bt3GaaSTUmXjpAj oAf3CWnSQt4Tq1tQc2UXl8ti5gS5HJ18SiKHuURh5uFGV7/sBOgUWt1GLIMYmMnyAmxe DnrA== X-Gm-Message-State: AOAM5333d+DtjmxfB/rIHr0fV5mUHaWsMZazkACGDHZ7jiWvBarlXOeW JffoGzRNOhkqk1A2++zzT2bBgg== X-Received: by 2002:a1c:f212:: with SMTP id s18mr9320896wmc.133.1614779029145; Wed, 03 Mar 2021 05:43:49 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id w18sm6109524wrr.7.2021.03.03.05.43.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:43:48 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 18/53] drm/nouveau/nv50_display: Remove superfluous prototype for local static functions Date: Wed, 3 Mar 2021 13:42:44 +0000 Message-Id: <20210303134319.3160762-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303134319.3160762-1-lee.jones@linaro.org> References: <20210303134319.3160762-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 <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: David Airlie <airlied@linux.ie>, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs <bskeggs@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Rid GPU from W=1 warnings
|
expand
|
diff --git a/drivers/gpu/drm/nouveau/nv50_display.h b/drivers/gpu/drm/nouveau/nv50_display.h index fbd3b15583bc8..2421401d12636 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.h +++ b/drivers/gpu/drm/nouveau/nv50_display.h @@ -31,7 +31,4 @@ #include "nouveau_reg.h" int nv50_display_create(struct drm_device *); -void nv50_display_destroy(struct drm_device *); -int nv50_display_init(struct drm_device *); -void nv50_display_fini(struct drm_device *); #endif /* __NV50_DISPLAY_H__ */
Fixes the following build error: drivers/gpu/drm/nouveau/dispnv50/disp.c:2530:1: error: conflicting types for ‘nv50_display_fini’ In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: drivers/gpu/drm/nouveau/nv50_display.h:36:6: note: previous declaration of ‘nv50_display_fini’ was her In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: drivers/gpu/drm/nouveau/nv50_display.h:35:6: note: previous declaration of ‘nv50_display_init’ was here drivers/gpu/drm/nouveau/dispnv50/disp.c:2581:1: error: static declaration of ‘nv50_display_destroy’ follows non-static declaration In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: drivers/gpu/drm/nouveau/nv50_display.h:34:6: note: previous declaration of ‘nv50_display_destroy’ was here Cc: Ben Skeggs <bskeggs@redhat.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/nouveau/nv50_display.h | 3 --- 1 file changed, 3 deletions(-)