* [PATCH] [TRIVIAL] remove agpgart_be.c unused variables
@ 2002-06-08 19:15 kuebelr
0 siblings, 0 replies; only message in thread
From: kuebelr @ 2002-06-08 19:15 UTC (permalink / raw)
To: trivial; +Cc: linux-kernel
This patch removes a few un-needed variables in agpgart_be.c. Patch is
against 2.4.19-pre10.
--- linux-clean/drivers/char/agp/agpgart_be.c Fri Jun 7 23:41:55 2002
+++ linux-dirty/drivers/char/agp/agpgart_be.c Sat Jun 8 00:45:17 2002
@@ -397,7 +397,7 @@
static void agp_generic_agp_enable(u32 mode)
{
struct pci_dev *device = NULL;
- u32 command, scratch, cap_id;
+ u32 command, scratch;
u8 cap_ptr;
pci_read_config_dword(agp_bridge.dev,
@@ -4201,7 +4201,6 @@
{
struct pci_dev *dev = NULL;
u8 cap_ptr = 0x00;
- u32 cap_id, scratch;
if ((dev = pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, NULL)) == NULL)
return -ENODEV;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-06-08 19:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-08 19:15 [PATCH] [TRIVIAL] remove agpgart_be.c unused variables kuebelr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox