From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24427 invoked from network); 9 Apr 1998 11:17:32 -0000 Received: from slip-32-100-110-94.vt.us.ibm.net (HELO air.steve.net) (32.100.110.94) by mail2.redhat.com with SMTP; 9 Apr 1998 11:17:32 -0000 Received: from localhost (localhost [127.0.0.1]) by air.steve.net (8.6.12/8.6.9) with SMTP id GAA00451; Thu, 9 Apr 1998 06:20:02 -0400 Date: Thu, 9 Apr 1998 06:20:01 -0400 (EDT) From: "Steven N. Hirsch" X-Sender: hirsch@air.steve.net To: linux-kernel@vger.rutgers.edu cc: axp-list@redhat.com, torvalds@transmeta.com Subject: Fix for tga.c in 2.1.93 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Linus, One unused variable removed and a typo fixed: --- linux/drivers/char/tga.c.orig Mon Apr 6 22:06:58 1998 +++ linux/drivers/char/tga.c Thu Apr 9 06:15:34 1998 @@ -472,12 +472,11 @@ tga_console_init(void)) { struct pci_dev *dev; - int status; /* * first, find the TGA among the PCI devices... */ - if (! (dev = pci_find_device(PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TGA, NULL))) + if (! (dev = pci_find_device(PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TGA, NULL))) { /* PANIC!!! */ printk("tga_console_init: TGA not found!!! :-(\n"); return; Steve