x86: ce4100: Remove unused struct 'sim_reg_op'
PATCH 1/1 x86: ce4100: Remove unused struct 'sim_reg_op'
From: "Dr. David Alan Gilbert" <[email protected]>
This doesn't look like it was ever used.
--- arch/x86/pci/ce4100.c | 6 ------ 1 file changed, 6 deletions(-)
arch/x86/pci/ce4100.c +0 -6
@@ -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))
Signature · 1 line
2.45.0
Quoted 3 lines · On Mon, 6 May 2024, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
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).
Quoted 23 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- arch/x86/pci/ce4100.c | 6 ------ 1 file changed, 6 deletions(-)arch/x86/pci/ce4100.c +0
-6@@ -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))
Signature · 1 line
i.
Quoted 9 lines · * Ilpo Järvinen ([email protected]) wrote:
Quoted 3 lines · On Mon, 6 May 2024, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
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
Quoted 28 lines
Quoted 23 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- arch/x86/pci/ce4100.c | 6 ------ 1 file changed, 6 deletions(-)arch/x86/pci/ce4100.c +0
-6@@ -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))Signature · 1 line
i.
Signature · 4 lines
-----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 |_______/
Quoted 5 lines · Dr. David Alan Gilbert
Quoted 4 lines · * Ilpo Järvinen ([email protected]) wrote:
Quoted 2 lines · On Mon, 6 May 2024, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
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
Quoted 12 lines · * Bjorn Helgaas ([email protected]) wrote:
Quoted 11 lines · Dr. David Alan Gilbert
Quoted 9 lines · * Ilpo Järvinen ([email protected]) wrote:
Quoted 3 lines · On Mon, 6 May 2024, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
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).
Quoted 6 lines
Quoted 2 lines
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
Quoted 2 lines
Bjorn
Signature · 4 lines
-----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 |_______/