Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Fix for tga.c in 2.1.93
@ 1998-04-09 10:20 Steven N. Hirsch
  0 siblings, 0 replies; only message in thread
From: Steven N. Hirsch @ 1998-04-09 10:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: axp-list, torvalds

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



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

only message in thread, other threads:[~1998-04-09 11:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-09 10:20 Fix for tga.c in 2.1.93 Steven N. Hirsch

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