Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3569442pxy; Mon, 26 Apr 2021 05:02:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZRLWDEYSLex/R19whqy2Ba+7PQRQt7W4/DQkgerpldOowk8JoVxm6+UQXlr7FX2vWUXet X-Received: by 2002:a17:90a:8592:: with SMTP id m18mr21666389pjn.165.1619438541078; Mon, 26 Apr 2021 05:02:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619438541; cv=none; d=google.com; s=arc-20160816; b=Hw1WqC9ItqK4h0AewCEyP5My6yQkOOzVNS8UC/ONl+wBQ4LdPit+lxqkhl08ek4JHT vLwMpJhjM347nvju0pjOh5/hPZv8+PKHnAxL1ShJLLHvPohW4xeu0I4GSSiPsDkq1loR Myq46xtyMZlltnnllkAZ8Lwu40AXwX51YPkqfjn6PTUYVanSEMGU1aqvwB2VSsqvLj9n JvL+Taa6z1GZf3AUtcEcUDulEghfW23t0JWRfiCbc6mheY6EB2pes+qztZh6xbHVzJA8 DeooNc6iM0QQonzq6y7qViwyXM/O3fLFvTEytWwA7uCPCfgb3OSLBEBdEytxwpxlw/r7 lPQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=LxIyZImAjQiKb779pF2r0agNe8VB6ArmqFWX32Kk7RQ=; b=cr39fwzM2wDIXcrX+AiK0PlBk+dOdlEmu/WWXpP1ee5ztfzieruICwu1OOMAwHkK3h nTN51vLELIeI5nseG8K+Cu9KAebaowGxJRtwwObO+H+e2qFGuCTiTWC3pr9YJm2+6Rjk zyu0TYdL71V2i3eoLch+/Wf3vdUWbuVxv1J5AkHrvOYw0ScF52B1WPZDTTBEIs7P3bnr mOBpLWdt8uL1HdZkNtwjAOAKdzQLeTRVzSB50obdvaCw2hwmCL+TYV9YQFA3QIPiSxX6 bBueKzocB1PAAqJBu7SmMciC7BOx3J9F28wx/cNaefg6MaSJYD4BJsX1Z4uZFI5LJJZ7 bcgQ== 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=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 t7si19419691plg.18.2021.04.26.05.02.07; Mon, 26 Apr 2021 05:02:21 -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; 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 S231983AbhDZMB6 (ORCPT + 99 others); Mon, 26 Apr 2021 08:01:58 -0400 Received: from mail-ot1-f42.google.com ([209.85.210.42]:37618 "EHLO mail-ot1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231550AbhDZMB5 (ORCPT ); Mon, 26 Apr 2021 08:01:57 -0400 Received: by mail-ot1-f42.google.com with SMTP id c8-20020a9d78480000b0290289e9d1b7bcso37753726otm.4; Mon, 26 Apr 2021 05:01:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LxIyZImAjQiKb779pF2r0agNe8VB6ArmqFWX32Kk7RQ=; b=g9Lu9eXecQp41pTWulDd0EQ2If0lWJqXtqTQudGJU8JblIZNbRWo7Wp/G8F8uG/qkK rtF0087Iix+BCCyjueTCpJHihmwS2gLQK9LqfI6VIymfNuGFKxpAjxoiXzbaeWuKuMtn H82yDjzcfvyHUpCL4FgYaNbTvGMS1qFvDkJa1Ds5iQLaKi/gUwrPZkjJ+S/0Kgl7fcml knXHgmRGX9Ga0aKfMdcOFxihqg+lNhiTYUdt0iT0hmqISj8w2jK0r2Dlsy0rhB+n9C3m FVtEsAa0/WpGvjdlOYwwNMQ2zVbuvLApQQWgy9OiCnSfrGNjjm47o0KPNtbVqXCGAM13 g0uA== X-Gm-Message-State: AOAM532vpY0mMbUWGmKPlIldQ1hR/vIuzRIqB3/9T134UmxGqynq2H33 SJwgCzGUwXj8O2zg+yb/mT7F/Sl+g/4rKBHq/8g= X-Received: by 2002:a05:6830:2458:: with SMTP id x24mr3478004otr.206.1619438473197; Mon, 26 Apr 2021 05:01:13 -0700 (PDT) MIME-Version: 1.0 References: <20210422180322.7wlyg63kv3n2k6id@ubuntu> In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 26 Apr 2021 14:00:58 +0200 Message-ID: Subject: Re: [PATCH] drivers: pnp: proc.c: Removed unnecessary varibles To: Leon Romanovsky 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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!