diff options
| author | Dr. David Alan Gilbert <[email protected]> | 2024-05-08 00:23:48 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2024-05-08 09:17:17 +0200 |
| commit | ad3bd7659b68add28920982e02233b5dc4b483c3 (patch) | |
| tree | 46fd5402bf18776fbffd587150aa1f26cf9d902c | |
| parent | 53bc516ade85a764edef3d6c8a51e880820e3d9d (diff) | |
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:
91d8037f563e ("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]
| -rw-r--r-- | arch/x86/pci/ce4100.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/pci/ce4100.c b/arch/x86/pci/ce4100.c index 87313701f069..f5dbd25651e0 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)) |