Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2102525pxt; Sun, 8 Aug 2021 11:35:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2WExO8mIIIR/0HlPy9mKXkfINwC1I12lY7l0uZhkWbfmTlIP/RKx8e8XOcEhXH3SG7M4X X-Received: by 2002:aa7:c541:: with SMTP id s1mr25521058edr.327.1628447700346; Sun, 08 Aug 2021 11:35:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628447700; cv=none; d=google.com; s=arc-20160816; b=b2dGu0pjj4VRK5POjt1yqNgR5/t+xYtzufvXr/OZ5cQy9tmRQjeN0Jt5r3bZRUIeTC rXB34ZWu7UcXSc4WBI9yqXvQS9cGnLH4cxiFr5L+PtfopfG653GcW0UA2vY3oDC2umo5 EhrOv3Fv0AQq6eoyQKoz8ZwVsaoBGmK1al1AmWPnzcgQJjR7FD4FUzztOnv0BVgoteH1 ahCZWOJ1/t/I/3LKhwOhGvUcxIMK/nNeCzUGlXxi2J2PCT8Zziix7Pq4R3k+/BMa136N xcXqxiMRyTYJEkXJ8h0cg9eNiIuZJT0LCwCkoYm0hjGHABu33X2DIqCcZXRT4JjxqqO2 tPgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :dkim-signature; bh=V/9kiO+9WhmK5mV+0wLk7T1opvEIZMMIGiktQ2bm4Pg=; b=k59ikY7hGMw4FaU48la80n21cWOTdp24RVA5KLl3WRdgrKIX34fRM2Vamn/LcbV+ob 7b6trbfkjnZCeFcqLOF7fu/S2owlPQm5I96b5TXIxXcyE9gVyqMzXyPAhOotqp2BRKTw eNHmc52OdBnhOH7w0oIg0GxG6b/dgHJ4zUtqLZ+o0arzYBChp7uxt+tyaBkdD1b9XFb5 7H8FC+4NPDuy19Mhw2Zt16XmY1lHOgr0WpJNJUcfuM2GPxg4pzzhMHm0s6KFCpAc0WG5 7ty6g8niczFaxjL2btpmxEn/r2djQYO8COKfIRBXnPXupfESlJUoGPme9yvQn/qXuLYw Vqyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=xD+bwtyO; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x23si4079708ejy.447.2021.08.08.11.34.37; Sun, 08 Aug 2021 11:35:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=xD+bwtyO; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231607AbhHHR6W (ORCPT + 99 others); Sun, 8 Aug 2021 13:58:22 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:41624 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230502AbhHHR6V (ORCPT ); Sun, 8 Aug 2021 13:58:21 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 4365E21D07; Sun, 8 Aug 2021 17:58:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1628445481; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V/9kiO+9WhmK5mV+0wLk7T1opvEIZMMIGiktQ2bm4Pg=; b=xD+bwtyOW4/8DqIajJnbbCahafUKQDRWcRrpZr79NCx2WjGrl3VbnuKjTPcRBRzF328Vz5 6u/b8/xUr61cXi4GFoWdKlAysycvjClDDb2t8PkjWTF9AajPjJzDWU7xDeGnlQfCk7IKVl 2DC7/lusXQOFeNjslK157VMZAIvuti0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1628445481; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V/9kiO+9WhmK5mV+0wLk7T1opvEIZMMIGiktQ2bm4Pg=; b=MX26sCcEzAenXqpgq3UYrq/kw0aka5Vvtbh4cSbVOEVFGq1YfjLTb6DL8THlSOMuwJ4YNv kyigzbiLZ00lcLAw== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id D471E133DE; Sun, 8 Aug 2021 17:58:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id 80v1MSgbEGHvMQAAGKfGzw (envelope-from ); Sun, 08 Aug 2021 17:58:00 +0000 Subject: Re: [PATCH 1/8] drm/ingenic: Remove dead code To: Paul Cercueil , David Airlie , Daniel Vetter Cc: "H . Nikolaus Schaller" , Paul Boddie , list@opendingux.net, Sam Ravnborg , linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20210808134526.119198-1-paul@crapouillou.net> <20210808134526.119198-2-paul@crapouillou.net> From: Thomas Zimmermann Message-ID: Date: Sun, 8 Aug 2021 19:58:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210808134526.119198-2-paul@crapouillou.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VOzPDVQf7fa4MlJHToh9YUEL4fONcpvAm" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VOzPDVQf7fa4MlJHToh9YUEL4fONcpvAm Content-Type: multipart/mixed; boundary="LZxk0qyEy2wbROb0ogb8MA7MlEdNsLpsP"; protected-headers="v1" From: Thomas Zimmermann To: Paul Cercueil , David Airlie , Daniel Vetter Cc: "H . Nikolaus Schaller" , Paul Boddie , list@opendingux.net, Sam Ravnborg , linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Message-ID: Subject: Re: [PATCH 1/8] drm/ingenic: Remove dead code References: <20210808134526.119198-1-paul@crapouillou.net> <20210808134526.119198-2-paul@crapouillou.net> In-Reply-To: <20210808134526.119198-2-paul@crapouillou.net> --LZxk0qyEy2wbROb0ogb8MA7MlEdNsLpsP Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 08.08.21 um 15:45 schrieb Paul Cercueil: > The priv->ipu_plane would get a different value further down the code, > without the first assigned value being read first; so the first > assignation can be dropped. >=20 > Signed-off-by: Paul Cercueil Acked-by: Thomas Zimmermann > --- > drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 3 --- > 1 file changed, 3 deletions(-) >=20 > diff --git a/drivers/gpu/drm/ingenic/ingenic-drm-drv.c b/drivers/gpu/dr= m/ingenic/ingenic-drm-drv.c > index d261f7a03b18..e42eb43d8020 100644 > --- a/drivers/gpu/drm/ingenic/ingenic-drm-drv.c > +++ b/drivers/gpu/drm/ingenic/ingenic-drm-drv.c > @@ -984,9 +984,6 @@ static int ingenic_drm_bind(struct device *dev, boo= l has_components) > priv->dma_hwdescs->hwdesc_pal.cmd =3D JZ_LCD_CMD_ENABLE_PAL > | (sizeof(priv->dma_hwdescs->palette) / 4); > =20 > - if (soc_info->has_osd) > - priv->ipu_plane =3D drm_plane_from_index(drm, 0); > - > primary =3D priv->soc_info->has_osd ? &priv->f1 : &priv->f0; > =20 > drm_plane_helper_add(primary, &ingenic_drm_plane_helper_funcs); >=20 --=20 Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany (HRB 36809, AG N=C3=BCrnberg) Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer --LZxk0qyEy2wbROb0ogb8MA7MlEdNsLpsP-- --VOzPDVQf7fa4MlJHToh9YUEL4fONcpvAm Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmEQGygFAwAAAAAACgkQlh/E3EQov+BQ Bg//e+OwVtfgvrGkkr9GVLezFOd/elkuwdraBVrJuGPZrkK6HtzVOa1dJQ0eU+cl8yJqaCgXHb3p ps8/fIcnIToel2dhjvKAf020uvabY8u2h35ObyaJbOEVEmDJSLF83s+QQPWGBDAicX96s6qll99/ bJSjYMyoCrwe474nWKWc1Zjydj3F79KjPKdfteMyZsyGUtUL/KGUXqeckwoy6wsDD96IHXtABPXh uMiMNxmaZ8ipf0Dik+f2pzrY4fuoWn9egwoZZ3N/C10ihPyiOIL9/RV+xJXoFPyRc5Gny5GsNiNm eoSpFy24rqYoUIR3a0L3s192iESLiWddNUENnXkBZ5183WyM5zWV/iIrgbRphTTsv5I0YZoDDKEA ewQZvpRaxY17FtbjnfSQNvXH5oDXahU+9RWUS9Iw/OsTFk3NUgXpyIDyJlTCqvvE6DyftBKChIek 2VlcFNKh93Fo8U83PYvlpGkSwjZZioA/KXmNgRsWk1aQYXlTwoJQVGaD1vBUn7x4wiGt2jiXGA32 q++0+oyoNRxXRCHBRpQCOUiiZkYq8PbYwW3cI4zNgDsZYupkzEogvlHa0hwNDVUVU0nTD5c7g+tO 4sAwloR3Oczf8ozMbDnmJ9A5WR0CHDhuxCGEfrLN26PM+rFgwWxm8IbCujoivcidAS/9vyVIyFOL eQE= =foVq -----END PGP SIGNATURE----- --VOzPDVQf7fa4MlJHToh9YUEL4fONcpvAm--