Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3606361pxy; Mon, 26 Apr 2021 05:51:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzcvJQbQSqLNXhwC+fSPk5zL3AzvAxJ4u5Ui2EdAqUTCTHAw2u4/PmXr4HSkWqXrBUh7Aq X-Received: by 2002:a62:868e:0:b029:265:e138:c010 with SMTP id x136-20020a62868e0000b0290265e138c010mr17992390pfd.10.1619441496267; Mon, 26 Apr 2021 05:51:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619441496; cv=none; d=google.com; s=arc-20160816; b=oBjFEtWhvoYhCBRsgQaWeQROltYzYkkE5d+uEqlGlK4KN6/Suw7Rx8i4sSZK4Ofcun tdfKZugN8iF2ktAYC1TBddhBlcOh/v1QeHb4ayH0tkFhb42S6J54Ked0yws3r2yW1smF 8D99LDaHZuoncNteNvFvBVuPdB3S07Dl8jOY0hmTZI+YKDp3kDa+gCW2dv5ZnXoXA8zG TVr6clTZgVo3L5CU2WyZ6ekzS5CX3ja14mDnVKivkZRjA+88/UOHQQ7wVJRrgIdp0Mzo 1Qpf3H31ork2WByQTfKiZWpPNf9pQXOwc1MKe+12Hpj+Lkm8rtX7clWn2hugjxFbnu3z MeFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WboEBMIohh8mTZL5csA2lZ7jjNSyBqoVqItE7DgYyyo=; b=nBefJb09OUJoUd6GrPbilXU1htMeoAumlWV67UwJgQo8gOSErjaHb8DRvUmodVtbfC KjjxtANV5gNu+ueQaG9Yh/Fbaz+0av/V+UUkrR8t+ittyq+ezFL2Fgr4qDcgShdl0P+R 5SBfaTh1xb5c5ICr0Z2UZccg9tWzLdLeUL8kpFUvBRrO48RZhGydEJABDUEpSv7orEig RKWGEnMjJ3tN108ksBoNhwUeFt2I3l9qH+IjOrjWTON+evHiVWIUzHsy6RSOpHQkF45W CJBnTXVHB/JHkbjeyDklNC6uRZsrU8iu0A3X/ZbE1cqI79SeAaNChH93+QmJlmI+oqt1 w/Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c1K9TR0r; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o3si5754243pjt.83.2021.04.26.05.51.23; Mon, 26 Apr 2021 05:51:36 -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=@kernel.org header.s=k20201202 header.b=c1K9TR0r; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233227AbhDZMvZ (ORCPT + 99 others); Mon, 26 Apr 2021 08:51:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:33542 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232107AbhDZMvY (ORCPT ); Mon, 26 Apr 2021 08:51:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 887DE61263; Mon, 26 Apr 2021 12:50:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619441443; bh=+UIfj82Eja1iaPvUFhsFHLNdYK0D3biGGwRTghZsyp8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c1K9TR0r8XbPqxD5ER8f7KjbXX/krszkrTt3MFjHqoX6D1NRXw1rtJBw+vGiI88Xx Sv/pmrFaIbZw/OtP72As92Wih+VpuzjGmesriUA0J1EyY5ha+DHkA2BpdZOU5zD5rb nFUgAoBbovrDU2xvkzKSZttzUPKiw7tZhFRk+PBk/ZTxRSWKYaB3FQSfBhU9ZSEHnJ ynpy3Y2q7LYqg8LM1Yh3/AlERpxYGIEJT/MMZdoWaGUi1KXfttZo42z6wdBQhZR+hc CnNWjBEViDmyy0bGa5d5a7+j2Ln0zkg66UcYS7ncTkFePsrb+6Ib8Yat3C3m2S5xV/ 8k81I3mK1A+uw== Date: Mon, 26 Apr 2021 15:50:39 +0300 From: Leon Romanovsky To: "Rafael J. Wysocki" Cc: Shuah Khan , Anupama K Patil , Jaroslav Kysela , "Rafael J. Wysocki" , ACPI Devel Maling List , Linux Kernel Mailing List , Adam , bkkarthik@pesu.pes.edu, Greg Kroah-Hartman , kernelnewbies@kernelnewbies.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [PATCH] drivers: pnp: proc.c: Removed unnecessary varibles Message-ID: References: <20210422180322.7wlyg63kv3n2k6id@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 26, 2021 at 02:00:58PM +0200, Rafael J. Wysocki wrote: > On Mon, Apr 26, 2021 at 6:57 AM Leon Romanovsky wrote: > > > > On Fri, Apr 23, 2021 at 03:08:03PM -0600, Shuah Khan wrote: > > > On 4/22/21 12:03 PM, Anupama K Patil wrote: > > > > de, e are two variables of the type 'struct proc_dir_entry' > > > > which can be removed to save memory. This also fixes a coding style > > > > issue reported by checkpatch where we are suggested to make assignment > > > > outside the if statement. > > > > > > > > > > Sounds like a reasonable change. > > > > It is unclear how much changes to ISA code are welcomed. > > Real fixes and obvious cleanups are, not much more than that. While first part is easy to determine, the second one is more blurry. > > > According to the Wikipedia, even Windows Vista disabled ISA PnP by default. > > https://en.wikipedia.org/wiki/Legacy_Plug_and_Play#Specifications > > It is indeed unclear how many systems with this interface still run > Linux, but as long as the code is in the tree, there's nothing wrong > with attempting to improve it. There's no assurance that all such > patches will be applied, though. > > Thanks!