From patchwork Wed Jul 19 10:58:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 122551 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2356640vqt; Wed, 19 Jul 2023 04:09:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlHmJzugHLNl+kSSVogqAVfymsD/c977hdYXU6lgsC8q0DP/EX/K0ilxa9uZxK1L5f4i6WT7 X-Received: by 2002:a17:906:3f54:b0:994:542c:8718 with SMTP id f20-20020a1709063f5400b00994542c8718mr1739155ejj.76.1689764984350; Wed, 19 Jul 2023 04:09:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689764984; cv=none; d=google.com; s=arc-20160816; b=OQ1bWQSa68yxSWvGoLSv3sHzKCu7UKHKUQ93nsPrFG+nJhwTAR51//UJxP0wgXxaI7 f1kGKRU/oLy74fvqWPzH980OA/9k4CWja/1J2PqmRcuxnPpaEcUofK9AiPC1lRc905YE GksNuzmhhtwkqDMggKV+lpwlW7kOmlNxweTYp38S2RP9GJtJwLrsWqrLIAw1kC7d66/2 /EowIZqpJrqp2/BAFNGe3EVU1jiv/sWeZcEyGruZxXP0pfFNEeLQIa6aiOAZJU0AXViE yfn3r/lBNMqVIL4eNQ8GvpzVIhHqinw/c/fxW8GZhWBXIaohkjdke04jK2qaEdL2P/rD Msjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=INBu3P3S1gZdEhtPxSWbNhdhaThn/dov55l5MihIIxc=; fh=W0fwGA8MFSyHn9Lu+Ar7ibUvsXk4pX3zYy239y1AGdk=; b=ezG9XM9xmun1nGVw8Sxl7bCd64PLXLd4wa8WJRoFReZ6KswdiKbQ7krfYCEurXBVG6 HCMDSyngRcAEKilgS0OVnqIwk4ki0puhGoX8q0d7mbZosCS4FMsPIBPl6tBX71rcnFvc VPk5oeyy3mF0K35lRsvgLAIa0b9y9CrPOOm01AfKuIuS6tml90RjG+W9LP15gMesVUMD Gh26DwjQ4Py1xH5uuy+p1KON9vjUXdelamH/RfXO08VVOEKcrq+KVXQyXefm3ZMTgXaK 6giKyLELNd+iJrxO9bxdds6DbQ85vkQtWgaN5TZL6KhIB6GJiaFEpsH0ASyiOPh2CF6e JDGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=me1+yVQy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kq8-20020a170906abc800b00988839e5435si2473949ejb.522.2023.07.19.04.09.19; Wed, 19 Jul 2023 04:09:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=me1+yVQy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229911AbjGSK7L (ORCPT + 99 others); Wed, 19 Jul 2023 06:59:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjGSK7K (ORCPT ); Wed, 19 Jul 2023 06:59:10 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AB1F186 for ; Wed, 19 Jul 2023 03:59:07 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPA id 1299D60007; Wed, 19 Jul 2023 10:58:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1689764346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=INBu3P3S1gZdEhtPxSWbNhdhaThn/dov55l5MihIIxc=; b=me1+yVQy2h5JS8f9pszwSrbXJrRxg1rUArG7+6vJ5euBuQMTh3l0c1xoPNGtUdqkKIebSN SUVo1pA0k1vhhxZa+dqQuTU3DjkgcbaaM/QrWxwJg8Od4ZP7NSP3CJkbnY4x13Pmh+Urcp zMfjsdUYEAkbrxk1gxEILiglpcK1cy+K4yrDNvLwU2JNuTDQjTPSmsGzPRpP353aiOJT1t 73dn1pdVy7NOab2thbwZMed3r1JvHLro3OZx5s52yxdeGdqpAhp6OTv/ehTvXT+5B5FQps rOdUKwkx2Fz5Qj6ACS6PCO/MgzjtXY3S9jY/RG5kSeFT8NNz07/srx1sLf+m0Q== From: Luca Ceresoli To: Linus Walleij , Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Luca Ceresoli Subject: [PATCH] drm/panel: db7430: remove unused variables Date: Wed, 19 Jul 2023 12:58:29 +0200 Message-Id: <20230719105829.148011-1-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-GND-Sasl: luca.ceresoli@bootlin.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771847008481236874 X-GMAIL-MSGID: 1771847008481236874 These variables are never referenced in the code. Signed-off-by: Luca Ceresoli --- drivers/gpu/drm/panel/panel-samsung-db7430.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-samsung-db7430.c b/drivers/gpu/drm/panel/panel-samsung-db7430.c index 117b26845083..14c6700e37b3 100644 --- a/drivers/gpu/drm/panel/panel-samsung-db7430.c +++ b/drivers/gpu/drm/panel/panel-samsung-db7430.c @@ -56,10 +56,6 @@ struct db7430 { struct mipi_dbi dbi; /** @panel: the DRM panel instance for this device */ struct drm_panel panel; - /** @width: the width of this panel in mm */ - u32 width; - /** @height: the height of this panel in mm */ - u32 height; /** @reset: reset GPIO line */ struct gpio_desc *reset; /** @regulators: VCCIO and VIO supply regulators */