[PATCH] kill warnings in sn2 specific pci init

Jesse Barnes
2004-05-11T18:42:24Z

[-- Attachment #1: Type: text/plain, Size: 125 bytes --]

A couple of unused variable warnings cropped up in the sn2 pci init routine.
This patch kills the unused variables.

Jesse

[-- Attachment #2: kill-sn-pci-init-warnings.patch --]
[-- Type: text/plain, Size: 455 bytes --]

===== arch/ia64/sn/io/machvec/pci_bus_cvlink.c 1.38 vs edited =====
--- 1.38/arch/ia64/sn/io/machvec/pci_bus_cvlink.c Wed Apr 28 09:20:53 2004
+++ edited/arch/ia64/sn/io/machvec/pci_bus_cvlink.c Tue May 11 11:08:47 2004
@@ -791,8 +791,7 @@
struct list_head *ln;
struct pci_bus *pci_bus = NULL;
struct pci_dev *pci_dev = NULL;
- extern int numnodes;
- int cnode, ret;
+ int ret;
#ifdef CONFIG_PROC_FS
extern void register_sn_procfs(void);
#endif