Skip to content

Commit ad3bd76

Browse files
Dr. David Alan GilbertIngo Molnar
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 53bc516 commit ad3bd76

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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)