Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp575348pxu; Fri, 11 Dec 2020 09:05:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRzntygz8KW5f/PL44MjmQCKHlr3B3jzOZ1SuM/Wz4MPZnnHZmQB/RMb+HUt1NNxttL1ea X-Received: by 2002:a17:906:c24b:: with SMTP id bl11mr11636176ejb.3.1607706321145; Fri, 11 Dec 2020 09:05:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607706321; cv=none; d=google.com; s=arc-20160816; b=HrDrfwES4rK+G/3h9wXUjknEJux6ffePnVDNdNlrk8RoALDJfUSPB+IthyJXqY2Egn D8R0sKRH7utxnkdEKYOgUm6IZ/iPieRLviniVT28am2ZY0meH7rW8Bzx+puz0vy9Bjc3 HwbLvoujmzMICmU03gTF+rAtTCNhphoTIQjR/JcqtcJ20SRg7iGXLjZjxCB0oiwz8B32 fIB+jAPr2tdIMraYfPD41IEgbMVaeaH0zzfneH3jvd6j3G7vu282Y8rtKPSE41zjmowT YJTzOB63+pu2FTijIqF21gavWzozWO1c25c7sY7SL/ossWO1RMbctmdXRB9PmvcWwdBH WxQg== 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:references:organization:in-reply-to:subject:cc:to :from:ironport-sdr:ironport-sdr; bh=q6CkADL4H2BtpmBql8vWLBAx1/XPumGKdiAZA/nHJ9A=; b=ciJo1Xn9buBIQEeReWIdn3Wkedo1EdQk/4Eyso1oPeVM8tyZskTtavnSmJZSLvvDS/ H4vbb2CgYKD/iviDTc1O5tT+5/JGI7uq/qf8Osyhy5yZmepFm6iosVXgSR6ReQSY4mVo 0Lq5u5g9Fgq+Km7X9YWEKtEbED66qJ1uMyHVwz/BgAL7kVk/v4C9wT1QQkOoygyeVw9V mmTDw6VpKkD5xnmHw9FcQU8EnEhmiJWTYMC/DRnovkM0cdgynI+7Vf4QykrG62I4tkp9 wG/+RCGAwW4a05MwGV83mbO0V3HOKaflJJAxkjbxHGb7x5vGvdvI75cLQeYP70RmlFXi a/2g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si5092650edx.443.2020.12.11.09.04.57; Fri, 11 Dec 2020 09:05:21 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405724AbgLKJxF convert rfc822-to-8bit (ORCPT + 99 others); Fri, 11 Dec 2020 04:53:05 -0500 Received: from mga06.intel.com ([134.134.136.31]:34410 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394039AbgLKJw4 (ORCPT ); Fri, 11 Dec 2020 04:52:56 -0500 IronPort-SDR: 44vVqCSzTldSRf3mcw6itLM+sODRFCKzg0H1VqoYllviQshHf/NT89iCOWes5DlH6UyAIoRjdo Lu6fqZnnBWqg== X-IronPort-AV: E=McAfee;i="6000,8403,9831"; a="236002886" X-IronPort-AV: E=Sophos;i="5.78,411,1599548400"; d="scan'208";a="236002886" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2020 01:52:14 -0800 IronPort-SDR: PVl8OU8ROdRYNRcuuI1cwHnm0Pahwqqsf4O0coU6GZWsYYiN/hRTouvAiYE5Ccs0+xvEJJqBLa InJ3eAdxnHfQ== X-IronPort-AV: E=Sophos;i="5.78,411,1599548400"; d="scan'208";a="440808660" Received: from dkreft-mobl1.ger.corp.intel.com (HELO localhost) ([10.249.158.206]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2020 01:52:00 -0800 From: Jani Nikula To: Ville =?utf-8?B?U3lyasOkbMOk?= , Thomas Gleixner Cc: Mark Rutland , Karthikeyan Mitran , Peter Zijlstra , Catalin Marinas , Linus Walleij , dri-devel@lists.freedesktop.org, Chris Wilson , "James E.J. Bottomley" , Russell King , afzal mohammed , Boris Ostrovsky , Rob Herring , Lorenzo Pieralisi , Dave Jiang , Leon Romanovsky , linux-rdma@vger.kernel.org, Marc Zyngier , Helge Deller , Michal Simek , Christian Borntraeger , linux-pci@vger.kernel.org, xen-devel@lists.xenproject.org, intel-gfx@lists.freedesktop.org, Wambui Karuga , Allen Hubbe , Will Deacon , linux-s390@vger.kernel.org, Heiko Carstens , linux-gpio@vger.kernel.org, Stefano Stabellini , Jakub Kicinski , Bjorn Helgaas , Lee Jones , linux-arm-kernel@lists.infradead.org, Juergen Gross , David Airlie , linux-parisc@vger.kernel.org, netdev@vger.kernel.org, Hou Zhiqiang , LKML , Tariq Toukan , Jon Mason , linux-ntb@googlegroups.com, Saeed Mahameed , "David S. Miller" Subject: Re: [Intel-gfx] [patch 13/30] drm/i915/lpe_audio: Remove pointless irq_to_desc() usage In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20201210192536.118432146@linutronix.de> <20201210194043.862572239@linutronix.de> Date: Fri, 11 Dec 2020 11:51:57 +0200 Message-ID: <87zh2k7jr6.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Dec 2020, Ville Syrjälä wrote: > On Thu, Dec 10, 2020 at 08:25:49PM +0100, Thomas Gleixner wrote: >> Nothing uses the result and nothing should ever use it in driver code. >> >> Signed-off-by: Thomas Gleixner >> Cc: Jani Nikula >> Cc: Joonas Lahtinen >> Cc: Rodrigo Vivi >> Cc: David Airlie >> Cc: Daniel Vetter >> Cc: Pankaj Bharadiya >> Cc: Chris Wilson >> Cc: Wambui Karuga >> Cc: intel-gfx@lists.freedesktop.org >> Cc: dri-devel@lists.freedesktop.org > > Reviewed-by: Ville Syrjälä Thomas, I presume you want to merge this series as a whole. Acked-by: Jani Nikula for merging via whichever tree makes most sense. Please let us know if you want us to pick this up via drm-intel instead. > >> --- >> drivers/gpu/drm/i915/display/intel_lpe_audio.c | 4 ---- >> 1 file changed, 4 deletions(-) >> >> --- a/drivers/gpu/drm/i915/display/intel_lpe_audio.c >> +++ b/drivers/gpu/drm/i915/display/intel_lpe_audio.c >> @@ -297,13 +297,9 @@ int intel_lpe_audio_init(struct drm_i915 >> */ >> void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv) >> { >> - struct irq_desc *desc; >> - >> if (!HAS_LPE_AUDIO(dev_priv)) >> return; >> >> - desc = irq_to_desc(dev_priv->lpe_audio.irq); >> - >> lpe_audio_platdev_destroy(dev_priv); >> >> irq_free_desc(dev_priv->lpe_audio.irq); >> >> _______________________________________________ >> Intel-gfx mailing list >> Intel-gfx@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Jani Nikula, Intel Open Source Graphics Center