Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Steven N. Hirsch" <shirsch@ibm.net>
To: linux-kernel@vger.rutgers.edu
Cc: axp-list@redhat.com, torvalds@transmeta.com
Subject: Fix for tga.c in 2.1.93
Date: Thu, 9 Apr 1998 06:20:01 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.3.95.980409061729.447A-100000@air.steve.net> (raw)

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



                 reply	other threads:[~1998-04-09 11:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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