Skip to contentSkip to conversation

char/agp: remove agp_bridge_data::type

PATCH In review Jiri Slaby (SUSE) 2 participants 2 messages Feb 13, 2024 – Feb 16, 2024 Agpgart driver

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/char/agp/agp.h | 1 -
 1 file changed, 1 deletion(-)
drivers/char/agp/agp.h +0 -1
index 5c36ab85f80b..67d7be800a7c 100644
@@ -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
#1 lore raw
Quoted 9 lines · Jiri Slaby (SUSE)

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.

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
index 5c36ab85f80b..67d7be800a7c 100644
@@ -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