aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2024-02-13 12:15:11 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2024-02-16 18:07:13 +0100
commit1e5a2ec938d73a035e2dd07a26f6c61012e37616 (patch)
tree97cc78330855243313425c37b6a74c082ff1eb2d /drivers/char
parentf63f24488571fdd6f6aa910f2db5a7f3d44a4da6 (diff)
downloadlinux-1e5a2ec938d73a035e2dd07a26f6c61012e37616.tar.gz
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) <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
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/agp/agp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h
index 5c36ab85f80b7..67d7be800a7c1 100644
--- a/drivers/char/agp/agp.h
+++ b/drivers/char/agp/agp.h
@@ -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;