From patchwork Mon Nov 16 17:40:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324485 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3506175ils; Mon, 16 Nov 2020 09:41:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2DOJUFFmGGMdEFTpCSY24k5RAU+2bRfirc1pFJurcA9w3sHYrE+wMPXKQSSsZnfU5F4M0 X-Received: by 2002:a63:3c1b:: with SMTP id j27mr277044pga.79.1605548498081; Mon, 16 Nov 2020 09:41:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548498; cv=none; d=google.com; s=arc-20160816; b=rV5Giq2fbkI61uFTPzFQDx0x/g6wabuXgfzqKqODhmFDy0juyVE7dbntdev49THUfL xbtDmUEHb0ou5TMCRR/S5ixGqLRVZJydn/WSt+MZD5/4w6S91x3XgozPO080GZ+vH/gT 5TION5UdumPRaWQgHdWoAvP9aPl81mlTvhiws4ilh7etZ9Pca8/mhsaInCRE6+iu9+h8 zynlI1CyU8PRoHQiOBjVA8qohyI5153W3069lkemEbXe2i7XgFZ8OyxT0ZpAEfXyyJzv AAB2c9SwNZuq9qGbmMAOB8jze0TfujITm7njSMo0dgyyEaBCZXDirkRT4Ndvu52Xxr2V uqWw== 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=RyfJ5iLQdfCVEUqNCUU8/Wa15bA+flTT0hAn3P//1M4kbsl9kUa85tWTsDoXjTcd7n Bck0S5NwEvy22ZfdSUorUVAT0BaXDv6vdIISjKZw21tRn/zw+FI6Tf+xSfkVxNFfVIIK 2oXhrg/8M58o1kGTDyD4TKr/TQ3+QVrGgjHrLsQuceY3oUhI/ap5Ha2gyTALBuTSv9BM xARWoV5rlZUwToOghwlGLnA5jY/ILfnsH/RCT5W1QVorHYGwuT1boNrgzCPhhUU6f2YP MIvVnAMxh7OS1/RDlkKCfKazcCPy4f6U8VxoXOWqxtucOznb6ZRP9rTJcypuknkW0mpM xqOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dNwXbsPl; 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 l17si17360457plb.350.2020.11.16.09.41.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:38 -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=dNwXbsPl; 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 9C8086E9EB; Mon, 16 Nov 2020 17:41:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id E22D96E8E7 for ; Mon, 16 Nov 2020 17:41:29 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id k2so19701375wrx.2 for ; Mon, 16 Nov 2020 09:41:29 -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=dNwXbsPl6q1/WYDA3oEdV/zceq4tTRbwO6lTXlm5XU9tFJdlL8uLCb2UQHW6BfNZn+ mgndbZ8TvSG3mtt/+A+jocB/IQFje8yUxevFzpcVFB6E5R2NBK/G30xCQNZJztpaSFpj 7ZL6jHg4IpI1yxLcXSvFPmiWVMom49yEIm89insI5yf38ZUfud8tZbfGClv+QtqTRh8K Gq07tgEv6tNT68z5M1XbSKZVOq8SQXXWhA7Hpv/yIwvULEp8E4HTctxb8tjJFZk/4Bb/ WbgxYlrEvPj5DQjWt0ZA/cKbW6LHdSm7hTS8aDEIcN1QcPH3xmp0cy8EjLxZ15mIUZmy ZGvw== 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=pqkHWebDV88DzbMAJeEg82DdCouChKgJnWKlEAlnfzTVsOTxdNUeJ5mU67NtPUTO+s zC/YnDG3qVSuW+p6t/FFlKpk0b3cnOVR0ZehUtqAt0ItaLvkgY2QvuVv5ujQxvMDZIe4 skx+oxiW3MmY2kuQVyV8uFW7WwOZ6ZqjrtQl8ogmMZg2FOH8Cwf6D5ROWejxO0wLGQGj gZ0gS/e/Jjw2YyNuHoh7VB2szRzVZ+O2RIV/6Z1rvalQaxdPxM48ngrv5WlurTN/KWwD BASfyqTTMlh6JxsoP0/vipJ/dTGBIFYpBk7cvhfklhBgDr/UtLNcwDks2zxb3h8BBvGO hPpg== X-Gm-Message-State: AOAM532IShozTZcX6hrrA2ltDLYJmANKgyxvcYtoxW2DcmCuhaEoOf0T exEr3+Gfl0M4qF9Cf5nYdpOCkQ== X-Received: by 2002:a5d:6411:: with SMTP id z17mr21002442wru.112.1605548488615; Mon, 16 Nov 2020 09:41:28 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/42] drm/mediatek/mtk_dpi: Remove unused struct definition 'mtk_dpi_encoder_funcs' Date: Mon, 16 Nov 2020 17:40:37 +0000 Message-Id: <20201116174112.1833368-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-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) {