char/agp: remove agp_bridge_data::type
PATCH 1/1 char/agp: remove agp_bridge_data::type
agp_bridge_data::type is unused (and I cannot find when was used last).
Therefore, remove it.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by Jiri Slaby (SUSE) <[email protected]>
Cc David Airlie <[email protected]>
--- drivers/char/agp/agp.h | 1 - 1 file changed, 1 deletion(-)
drivers/char/agp/agp.h +0 -1
@@ -138,7 +138,6 @@ struct agp_bridge_data {unsigned long gart_bus_addr;unsigned long gatt_bus_addr;u32 mode; -enum chipset_type type;unsigned long *key_list;atomic_t current_memory_agp;atomic_t agp_in_use;
Signature · 1 line
2.43.1
Quoted 9 lines · Jiri Slaby (SUSE)
agp_bridge_data::typeis unused (and I cannot find when was used last).Therefore, remove it.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by Jiri Slaby (SUSE) <[email protected]>Cc David Airlie <[email protected]>
Thanks, pushed to drm-misc-next.
-Sima
Quoted 19 lines
--- drivers/char/agp/agp.h | 1 - 1 file changed, 1 deletion(-)drivers/char/agp/agp.h +0
-1@@ -138,7 +138,6 @@ struct agp_bridge_data {unsigned long gart_bus_addr;unsigned long gatt_bus_addr;u32 mode; -enum chipset_type type;unsigned long *key_list;atomic_t current_memory_agp;atomic_t agp_in_use;Signature · 1 line
2.43.1
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch