]> Git Repo - J-linux.git/commitdiff
x86/pci/ce4100: Remove unused 'struct sim_reg_op'
authorDr. David Alan Gilbert <[email protected]>
Tue, 7 May 2024 23:23:48 +0000 (00:23 +0100)
committerIngo Molnar <[email protected]>
Wed, 8 May 2024 07:17:17 +0000 (09:17 +0200)
'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]
arch/x86/pci/ce4100.c

index 87313701f069ea5a8fc19a3de16c513259bc7575..f5dbd25651e0fad3308fdb045219026ece68af96 100644 (file)
@@ -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))
This page took 0.044329 seconds and 4 git commands to generate.