* [PATCH] x86: ce4100: Remove unused struct 'sim_reg_op'
@ 2024-05-06 0:46 linux
2024-05-06 14:17 ` Ilpo Järvinen
0 siblings, 1 reply; 5+ messages in thread
From: linux @ 2024-05-06 0:46 UTC (permalink / raw)
To: bhelgaas, dave.hansen
Cc: x86, linux-pci, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
This doesn't look like it was ever used.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
arch/x86/pci/ce4100.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/x86/pci/ce4100.c b/arch/x86/pci/ce4100.c
index 87313701f069e..f5dbd25651e0f 100644
--- a/arch/x86/pci/ce4100.c
+++ b/arch/x86/pci/ce4100.c
@@ -35,12 +35,6 @@ struct sim_dev_reg {
struct sim_reg sim_reg;
};
-struct sim_reg_op {
- void (*init)(struct sim_dev_reg *reg);
- void (*read)(struct sim_dev_reg *reg, u32 value);
- void (*write)(struct sim_dev_reg *reg, u32 value);
-};
-
#define MB (1024 * 1024)
#define KB (1024)
#define SIZE_TO_MASK(size) (~(size - 1))
--
2.45.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] x86: ce4100: Remove unused struct 'sim_reg_op'
2024-05-06 0:46 [PATCH] x86: ce4100: Remove unused struct 'sim_reg_op' linux
@ 2024-05-06 14:17 ` Ilpo Järvinen
2024-05-06 14:43 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 5+ messages in thread
From: Ilpo Järvinen @ 2024-05-06 14:17 UTC (permalink / raw)
To: Dr. David Alan Gilbert; +Cc: bhelgaas, dave.hansen, x86, linux-pci, LKML
On Mon, 6 May 2024, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> This doesn't look like it was ever used.
Don't start with "This" but spell what you're talking about out so it
can be read and understood without shortlog in Subject (or looking into
the code change).
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---
> arch/x86/pci/ce4100.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/arch/x86/pci/ce4100.c b/arch/x86/pci/ce4100.c
> index 87313701f069e..f5dbd25651e0f 100644
> --- a/arch/x86/pci/ce4100.c
> +++ b/arch/x86/pci/ce4100.c
> @@ -35,12 +35,6 @@ struct sim_dev_reg {
> struct sim_reg sim_reg;
> };
>
> -struct sim_reg_op {
> - void (*init)(struct sim_dev_reg *reg);
> - void (*read)(struct sim_dev_reg *reg, u32 value);
> - void (*write)(struct sim_dev_reg *reg, u32 value);
> -};
> -
> #define MB (1024 * 1024)
> #define KB (1024)
> #define SIZE_TO_MASK(size) (~(size - 1))
>
--
i.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] x86: ce4100: Remove unused struct 'sim_reg_op'
2024-05-06 14:17 ` Ilpo Järvinen
@ 2024-05-06 14:43 ` Dr. David Alan Gilbert
2024-05-06 15:23 ` Bjorn Helgaas
0 siblings, 1 reply; 5+ messages in thread
From: Dr. David Alan Gilbert @ 2024-05-06 14:43 UTC (permalink / raw)
To: Ilpo Järvinen; +Cc: bhelgaas, dave.hansen, x86, linux-pci, LKML
* Ilpo Järvinen (ilpo.jarvinen@linux.intel.com) wrote:
> On Mon, 6 May 2024, linux@treblig.org wrote:
>
> > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> >
> > This doesn't look like it was ever used.
>
> Don't start with "This" but spell what you're talking about out so it
> can be read and understood without shortlog in Subject (or looking into
> the code change).
I'm of course happy to rework that if it helps you, although
I thought the subject line was sufficient.
Dave
> > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> > ---
> > arch/x86/pci/ce4100.c | 6 ------
> > 1 file changed, 6 deletions(-)
> >
> > diff --git a/arch/x86/pci/ce4100.c b/arch/x86/pci/ce4100.c
> > index 87313701f069e..f5dbd25651e0f 100644
> > --- a/arch/x86/pci/ce4100.c
> > +++ b/arch/x86/pci/ce4100.c
> > @@ -35,12 +35,6 @@ struct sim_dev_reg {
> > struct sim_reg sim_reg;
> > };
> >
> > -struct sim_reg_op {
> > - void (*init)(struct sim_dev_reg *reg);
> > - void (*read)(struct sim_dev_reg *reg, u32 value);
> > - void (*write)(struct sim_dev_reg *reg, u32 value);
> > -};
> > -
> > #define MB (1024 * 1024)
> > #define KB (1024)
> > #define SIZE_TO_MASK(size) (~(size - 1))
> >
>
> --
> i.
>
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] x86: ce4100: Remove unused struct 'sim_reg_op'
2024-05-06 14:43 ` Dr. David Alan Gilbert
@ 2024-05-06 15:23 ` Bjorn Helgaas
2024-05-07 23:24 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 5+ messages in thread
From: Bjorn Helgaas @ 2024-05-06 15:23 UTC (permalink / raw)
To: Dr. David Alan Gilbert
Cc: Ilpo Järvinen, bhelgaas, dave.hansen, x86, linux-pci, LKML
On Mon, May 06, 2024 at 02:43:20PM +0000, Dr. David Alan Gilbert wrote:
> * Ilpo Järvinen (ilpo.jarvinen@linux.intel.com) wrote:
> > On Mon, 6 May 2024, linux@treblig.org wrote:
> >
> > > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> > >
> > > This doesn't look like it was ever used.
> >
> > Don't start with "This" but spell what you're talking about out so it
> > can be read and understood without shortlog in Subject (or looking into
> > the code change).
>
> I'm of course happy to rework that if it helps you, although
> I thought the subject line was sufficient.
It's a minor point, to be sure. The way I think about this is "an
essay title is not part of the essay itself," so the essay (commit
log) should make sense all by itself.
Bjorn
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] x86: ce4100: Remove unused struct 'sim_reg_op'
2024-05-06 15:23 ` Bjorn Helgaas
@ 2024-05-07 23:24 ` Dr. David Alan Gilbert
0 siblings, 0 replies; 5+ messages in thread
From: Dr. David Alan Gilbert @ 2024-05-07 23:24 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Ilpo Järvinen, bhelgaas, dave.hansen, x86, linux-pci, LKML
* Bjorn Helgaas (helgaas@kernel.org) wrote:
> On Mon, May 06, 2024 at 02:43:20PM +0000, Dr. David Alan Gilbert wrote:
> > * Ilpo Järvinen (ilpo.jarvinen@linux.intel.com) wrote:
> > > On Mon, 6 May 2024, linux@treblig.org wrote:
> > >
> > > > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> > > >
> > > > This doesn't look like it was ever used.
> > >
> > > Don't start with "This" but spell what you're talking about out so it
> > > can be read and understood without shortlog in Subject (or looking into
> > > the code change).
> >
> > I'm of course happy to rework that if it helps you, although
> > I thought the subject line was sufficient.
>
> It's a minor point, to be sure. The way I think about this is "an
> essay title is not part of the essay itself," so the essay (commit
> log) should make sense all by itself.
OK, modified v2 sent.
Dave
> Bjorn
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-05-07 23:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 0:46 [PATCH] x86: ce4100: Remove unused struct 'sim_reg_op' linux
2024-05-06 14:17 ` Ilpo Järvinen
2024-05-06 14:43 ` Dr. David Alan Gilbert
2024-05-06 15:23 ` Bjorn Helgaas
2024-05-07 23:24 ` Dr. David Alan Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox