From patchwork Fri May 17 23:24:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13667426 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5C547C04FFE for ; Fri, 17 May 2024 23:24:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5356710E117; Fri, 17 May 2024 23:24:43 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=treblig.org header.i=@treblig.org header.b="QIOJ2aFW"; dkim-atps=neutral Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) by gabe.freedesktop.org (Postfix) with ESMTPS id 29D0010E117 for ; Fri, 17 May 2024 23:24:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=EGNBwt4Jhx0eU/bSMW+HjR2avZcfPg+d5TcR4LmRDO0=; b=QIOJ2aFWqPczygka F251WHiGcBngjQVLpm7xkQSPFQnaFR2tb8c8vDZOiFSlljtDMCus4n8L7lZczEY0mOb0Bry3UY0F/ p6DovP7zlrLrt5lVOAjl8Xcq+Vyz6XoHSkvtEcmPaIUPpo51PKhJWKFU/+BJNo1oRG0l4Lof1Dmcv Puetk0I7MjbvA0bAdPVoXGH9lFrrrftembvpS9lqEkV6qYl2PnFG7Y63FnI0z8KRF4fx3pnZNNQdW 8EF4RrMimQBo9but+RaHoakHGBHUu3QZbPjRKTi4mBj+DlSsA3c7PyD2FQUpfJYDtGxIAZcWvTaZi SP4XbjWAqSu2XcLKxg==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s86wD-001ThF-0T; Fri, 17 May 2024 23:24:33 +0000 From: linux@treblig.org To: andrzej.hajda@intel.com, neil.armstrong@linaro.org Cc: maarten.lankhorst@linux.intel.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 1/6] drm/bridge: analogix: remove unused struct 'bridge_init' Date: Sat, 18 May 2024 00:24:27 +0100 Message-ID: <20240517232427.230709-1-linux@treblig.org> X-Mailer: git-send-email 2.45.1 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: "Dr. David Alan Gilbert" 'bridge_init' is unused, I think following: commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") (which is where a git --follow finds it) Remove it. Build tested. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index df9370e0ff23..1e03f3525a92 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -36,11 +36,6 @@ static const bool verify_fast_training; -struct bridge_init { - struct i2c_client *client; - struct device_node *node; -}; - static int analogix_dp_init_dp(struct analogix_dp_device *dp) { int ret;