public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
	linux-pci@vger.kernel.org
Subject: Re: [PATCH] PCI: cpqphp: Remove an unused field in struct ctrl_dbg
Date: Wed, 16 Oct 2024 14:42:21 -0500	[thread overview]
Message-ID: <20241016194221.GA646374@bhelgaas> (raw)
In-Reply-To: <551d0cdaabcf69fcd09a565475c428e09c61e1a3.1728762751.git.christophe.jaillet@wanadoo.fr>

On Sat, Oct 12, 2024 at 09:53:42PM +0200, Christophe JAILLET wrote:
> 'ctrl' is unused, remove it to save a few bytes when the structure is
> allocated.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

Applied to pci/hotplug for v6.13, thanks!

> ---
> Compile tested only
> ---
>  drivers/pci/hotplug/cpqphp_sysfs.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/pci/hotplug/cpqphp_sysfs.c b/drivers/pci/hotplug/cpqphp_sysfs.c
> index fed1360ee9b1..6143ebf71f21 100644
> --- a/drivers/pci/hotplug/cpqphp_sysfs.c
> +++ b/drivers/pci/hotplug/cpqphp_sysfs.c
> @@ -123,7 +123,6 @@ static int spew_debug_info(struct controller *ctrl, char *data, int size)
>  struct ctrl_dbg {
>  	int size;
>  	char *data;
> -	struct controller *ctrl;
>  };
>  
>  #define MAX_OUTPUT	(4*PAGE_SIZE)
> -- 
> 2.47.0
> 

      reply	other threads:[~2024-10-16 19:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-12 19:53 [PATCH] PCI: cpqphp: Remove an unused field in struct ctrl_dbg Christophe JAILLET
2024-10-16 19:42 ` Bjorn Helgaas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241016194221.GA646374@bhelgaas \
    --to=helgaas@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox