Commit ad3bd765 authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by Ingo Molnar

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:

  91d8037f ("ce4100: Add PCI register emulation for CE4100")

Remove it.

[ mingo: Improved the changelog. ]
Signed-off-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20240507232348.46677-1-linux@treblig.org
parent 53bc516a
...@@ -35,12 +35,6 @@ struct sim_dev_reg { ...@@ -35,12 +35,6 @@ struct sim_dev_reg {
struct sim_reg sim_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 MB (1024 * 1024)
#define KB (1024) #define KB (1024)
#define SIZE_TO_MASK(size) (~(size - 1)) #define SIZE_TO_MASK(size) (~(size - 1))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment