2002-07-23 04:36:21

by Keith Owens

[permalink] [raw]
Subject: [patch] 2.4.19-rc3 remove dead variable CONFIG_DRM_AGP.

CONFIG_AGP is defined as depending on CONFIG_DRM_AGP but that variable
is neither defined nor used. This spurious dependency silently works
for make old/menuconfig, it breaks make xconfig.

Index: 18.102/drivers/char/Config.in
--- 18.102/drivers/char/Config.in Mon, 22 Jul 2002 11:29:07 +1000 kaos (linux-2.4/b/c/3_Config.in 1.2.1.1.4.12.1.2 644)
+++ 18.102(w)/drivers/char/Config.in Tue, 23 Jul 2002 12:31:28 +1000 kaos (linux-2.4/b/c/3_Config.in 1.2.1.1.4.12.1.2 644)
@@ -211,7 +211,7 @@ if [ "$CONFIG_FTAPE" != "n" ]; then
fi
endmenu

-dep_tristate '/dev/agpgart (AGP Support)' CONFIG_AGP $CONFIG_DRM_AGP
+tristate '/dev/agpgart (AGP Support)' CONFIG_AGP
if [ "$CONFIG_AGP" != "n" ]; then
bool ' Intel 440LX/BX/GX and I815/I830M/I840/I850 support' CONFIG_AGP_INTEL
if [ "$CONFIG_IA64" != "n" ]; then