From patchwork Fri Nov 13 13:49:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324304 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213003ils; Fri, 13 Nov 2020 05:50:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlQatCx6RxvTjV1vpSHLHzACkvhqzKpw0WrMXiELXw6w3Fpn9XhNDza9jSoU0A8EQlEdWH X-Received: by 2002:a17:90a:9dc2:: with SMTP id x2mr3181524pjv.98.1605275428845; Fri, 13 Nov 2020 05:50:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275428; cv=none; d=google.com; s=arc-20160816; b=bGl8cjr5DD6cAlE6OdQYEMT664tZ1jAPSmwZqr4PCt+huA+G8zMXqTTKNDv1RaqDYG GGntPk2GXvvakrYgM1TGixB/YrhuoQYeO6TwLU8cgPOejxEDwxQzChIKu9B0wiY6+QbO Q2WkOucVuxWAYjPvmZ68M0b2hMKnzkKxOvoqqVX81A99Qa4DVdEY8n514Q53imzvU6Bv dHy5JbA0JKh3CTDp89P7D4P2/lWajiqaTOuopaePArphpR+tu19OubIymaMRffq9gJRQ j34xOp2f903ySeyLv2CqiiNh+Q643m+TA4UF7jNEmuRPnJ7qTsZY2qxSoEN0jQWKQGSq EBpg== 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=ma56tmmzGi/X7FohNMLTpLqGocSNeLeymxzSVGhmVNQ=; b=P4hEWhFUr22OM47hAEj9TAwEV+lMSqDys9JG982BhO0/L2CU+0+Ud//fSQYr32s6t2 IYKnfPhXuTbn3arAHfFebfwFbsW13CSupl3QF4yJdPBWQb7Idaqn0BOWOUN5PwjVUtJ3 yXJ/2VVQ3Hsd/liqp0d+uKw2eDaeAtmzJkz+/uW8u4GR9ocTXW+ou88u4au/RXHlf4yC DnpQVlgsZOzh13ztSy0HsT1zxcS66tGn0zRlY+JBJxLuFLrPw5gM4ZSDMFT80vixEDCA aAPhqeV3fVj1Hl+gJJXNa/lIUWscS4//qFh/301AZCDbuXARHKkn3UUvbKsbzXLurTQe fBOA== 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+bZDcI; 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 8si7960142pgk.194.2020.11.13.05.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:28 -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+bZDcI; 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 A8DB26E524; Fri, 13 Nov 2020 13:50:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5819D6E4DD for ; Fri, 13 Nov 2020 13:50:05 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id 33so9981092wrl.7 for ; Fri, 13 Nov 2020 05:50:05 -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=NO2flJnZQ5gKgn/ih0D6aTqpwf9ViRniG5BiRkSE7jU=; b=oU+bZDcIA8AQ53jLjMhsbcTjoc0o9aqwixUMDFaPxx4SjacHt/w7oe9W1HMKSdIsn9 6MbabSjAFbSm0k1Wtzvrq0NdT42aTWaBzzmUWCU8zrAC1ar1JcV5agJQhKKqmsvQRDx8 DugB2mjm1THeElsZsw+uY85zNMeJ8YXM1g5rjMPx7fYOia71z/cOlFmrj0P/AASK1cLd a19gm/PUefiBML3NgcSMj3reICam5oEhlLKz5NZeKUjHwCdh3UqBZfXHS+7mwb1CQBMp 083hgZs8utmuWHk8W0+RbnRiirUW1LsWFcExyMHgs8HKN+uangYIThSsaPlgGG/FncvU Wb1A== 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=NO2flJnZQ5gKgn/ih0D6aTqpwf9ViRniG5BiRkSE7jU=; b=QUIMW9VxubnE3QMuRRWY2TylT5B3aqJKRZO1u1Mz6qKwWoiSCbjjxWvFC0kHG9jH/k gO/yp+C1D4ySazlWQdA+INKM2RydLcwMIpAKKPhQh4jVMXXnySIS76WnlQzsjwUtgk5h FNc7HasP7OUf5+jbsAwyJUPDOxXiRfigYxVvYym4kaa00Qi+X2J2O6EO0hRdCK4dx8+w NspAksNR6tydquvoQdGQDUtXJHrNK30g7Kh+mq+BKyDQRmS39cCOxbTvE02eUj2z8o8c NR2J5ql4lqTxevIM2IRbBrr1t5IPyqQgd8rMRWvBWByPNE/RtymISp5+fovyA7RIdMiv /yMQ== X-Gm-Message-State: AOAM532HuVZl0+IjLGhYaT5Hy90zbvduMw+MSyzYPAgAs2p8qjVtMUPu IEwHvUgRvdla572qq6mXo8DusQ== X-Received: by 2002:a5d:4e46:: with SMTP id r6mr3589306wrt.218.1605275403918; Fri, 13 Nov 2020 05:50:03 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:03 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/40] drm/mediatek/mtk_dpi: Remove unused struct definition 'mtk_dpi_encoder_funcs' Date: Fri, 13 Nov 2020 13:49:16 +0000 Message-Id: <20201113134938.4004947-19-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: Chun-Kuang Hu , Jie Qiu , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_dpi.c:530:39: warning: ‘mtk_dpi_encoder_funcs’ defined but not used [-Wunused-const-variable=] Cc: Chun-Kuang Hu Cc: Philipp Zabel Cc: David Airlie Cc: Daniel Vetter Cc: Matthias Brugger Cc: Jie Qiu Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/mediatek/mtk_dpi.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi.c index cf11c4850b405..52f11a63a3304 100644 --- a/drivers/gpu/drm/mediatek/mtk_dpi.c +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c @@ -522,15 +522,6 @@ static int mtk_dpi_set_display_mode(struct mtk_dpi *dpi, return 0; } -static void mtk_dpi_encoder_destroy(struct drm_encoder *encoder) -{ - drm_encoder_cleanup(encoder); -} - -static const struct drm_encoder_funcs mtk_dpi_encoder_funcs = { - .destroy = mtk_dpi_encoder_destroy, -}; - static int mtk_dpi_bridge_attach(struct drm_bridge *bridge, enum drm_bridge_attach_flags flags) {