mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] AGP 3/7: remove unused var in amd-k8-agp.c
@ 2003-01-07 20:37 Bjorn Helgaas
  0 siblings, 0 replies; only message in thread
From: Bjorn Helgaas @ 2003-01-07 20:37 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.973   -> 1.974  
#	drivers/char/agp/amd-k8-agp.c	1.16    -> 1.17   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/01/07	bjorn_helgaas@hp.com	1.974
# Remove unused variable in amd-k8-agp.c
# --------------------------------------------
#
diff -Nru a/drivers/char/agp/amd-k8-agp.c b/drivers/char/agp/amd-k8-agp.c
--- a/drivers/char/agp/amd-k8-agp.c	Tue Jan  7 12:52:15 2003
+++ b/drivers/char/agp/amd-k8-agp.c	Tue Jan  7 12:52:15 2003
@@ -336,7 +336,6 @@
 	struct pci_dev *device = NULL;
 	u32 command, scratch; 
 	u8 cap_ptr;
-	u8 agp_v3;
 	u8 v3_devs=0;
 
 	/* FIXME: If 'mode' is x1/x2/x4 should we call the AGPv2 routines directly ?
@@ -387,7 +386,6 @@
 			printk (KERN_INFO "AGP: Setting up AGPv3 capable device at %d:%d:%d\n",
 					device->bus->number, PCI_FUNC(device->devfn), PCI_SLOT(device->devfn));
 			pci_read_config_dword(device, cap_ptr + 4, &scratch);
-			agp_v3 = (scratch & (1<<3) ) >>3;
 
 			/* adjust RQ depth */
 			command =


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-07 20:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-07 20:37 [PATCH] AGP 3/7: remove unused var in amd-k8-agp.c Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®