char/agp: remove agp_bridge_data::type
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Tue, 13 Feb 2024 11:15:11 +0000 (12:15 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 16 Feb 2024 17:07:13 +0000 (18:07 +0100)
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) <jirislaby@kernel.org>
Cc: David Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20240213111511.25187-1-jirislaby@kernel.org
drivers/char/agp/agp.h

index 5c36ab85f80b77feb1f57027a46d831a1327a9c7..67d7be800a7c1f63ab74edc291d3d6909897d2cc 100644 (file)
@@ -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;