Skip to content

Commit ad3bd76

Browse files
Dr. David Alan Gilbertingomolnar
authored andcommitted
x86/pci/ce4100: Remove unused 'struct sim_reg_op'
'struct sim_reg_op' wasn't ever used since it was introduced 14 years ago via: 91d8037 ("ce4100: Add PCI register emulation for CE4100") Remove it. [ mingo: Improved the changelog. ] Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20240507232348.46677-1-linux@treblig.org
1 parent 53bc516 commit ad3bd76

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

arch/x86/pci/ce4100.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ struct sim_dev_reg {
3535
struct sim_reg sim_reg;
3636
};
3737

38-
struct sim_reg_op {
39-
void (*init)(struct sim_dev_reg *reg);
40-
void (*read)(struct sim_dev_reg *reg, u32 value);
41-
void (*write)(struct sim_dev_reg *reg, u32 value);
42-
};
43-
4438
#define MB (1024 * 1024)
4539
#define KB (1024)
4640
#define SIZE_TO_MASK(size) (~(size - 1))

0 commit comments

Comments
 (0)