From patchwork Thu Nov 5 13:56:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 319532 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2FCBC5517A for ; Thu, 5 Nov 2020 13:57:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 68F792078E for ; Thu, 5 Nov 2020 13:57:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728371AbgKEN5E (ORCPT ); Thu, 5 Nov 2020 08:57:04 -0500 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:34091 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729990AbgKEN5E (ORCPT ); Thu, 5 Nov 2020 08:57:04 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 4EF7D58034D; Thu, 5 Nov 2020 08:57:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 05 Nov 2020 08:57:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=lGJJsCc/xA29q 3wq8xPxyJ7pKm1qHScZ2yaE24iFS6Q=; b=ScUUcKLWk4dEVPOTRww0kxJzAUqnf JUZXpr1VTC4PTitmEIk3rR/cKULsxZjz5UAoVc30zySZ6vM2Vcd/L0I6+L44QWr0 dQScE1k2YzBmBMJzRVxos2EH/YMMCuYIf+aYfnwimjluBK6SoRKGnZ6GJbgsoloE aYjBBvXYxJbNyzxLA0HdbD8h4QAdqTOIPOy/ooIwDeU2zBb5dR00ymhqGlDx/alK Yj5uRt5ZXH4vLAMpAcZUlZ6MFP+cFQYxA6UhMp1qp4yyqlSqFvX8zqIRzJvVEkjr DrbpNyN7spMUvGDQ2MXXZhdePgakW5jrufPQpbdfE/NLM4ms1PgeR+O8Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=lGJJsCc/xA29q3wq8xPxyJ7pKm1qHScZ2yaE24iFS6Q=; b=St4HTO6q bIWRqqDk4Y4mWvtRCmhq43yGC0cyV6LEFzsuKl1DYEPtwS7wvhFkFGUyFcwnJOdd yWrLjh8R0e7hrUzn6k2DSnKitT6NZgCZNzmFg0zPM58pk6/eM5E03MQCbDwI/0Np LPEHVCH0DkRh0VWhU3cyHFjNwLtbFpQZWRbWs5+m8hU0IUoFkn7wdUBPQPn9TxFV c+mrqVbhZsPVuK+lP3ttPqyszpTe3tL0sNJ2DuoK4ooj+9Rm/KzhTSIq00Vho1vi 6bFQ29uqj1WbBOUJqA+8BEZQUNXvy4cJsT7JjhOsJ4aIu62NnrfaPXf8ep8t9FjA R/7pnyvKYVnHCg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtjedgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepvdekleevfeffkeejhfffueelteelfeduieefheduudfggffhhfffheevveeh hedvnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id BBCC13060064; Thu, 5 Nov 2020 08:57:01 -0500 (EST) From: Maxime Ripard To: Eric Anholt , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Daniel Vetter , David Airlie , Mark Rutland , Rob Herring , Frank Rowand Cc: Hoegeun Kwon , Dave Stevenson , Phil Elwell , linux-rpi-kernel@lists.infradead.org, Tim Gover , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org Subject: [PATCH v3 2/7] drm/vc4: kms: Remove useless define Date: Thu, 5 Nov 2020 14:56:51 +0100 Message-Id: <20201105135656.383350-3-maxime@cerno.tech> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201105135656.383350-1-maxime@cerno.tech> References: <20201105135656.383350-1-maxime@cerno.tech> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org NUM_OUTPUTS isn't used anymore, let's remove it. Reviewed-by: Hoegeun Kwon Tested-by: Hoegeun Kwon Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/vc4_kms.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c index 44db31e16e91..4b558ccb18fe 100644 --- a/drivers/gpu/drm/vc4/vc4_kms.c +++ b/drivers/gpu/drm/vc4/vc4_kms.c @@ -660,7 +660,6 @@ static int vc4_load_tracker_obj_init(struct vc4_dev *vc4) return drmm_add_action_or_reset(&vc4->base, vc4_load_tracker_obj_fini, NULL); } -#define NUM_OUTPUTS 6 #define NUM_CHANNELS 3 static int