Fix for tga.c in 2.1.93

Steven N. Hirsch (shirsch@ibm.net)
Thu, 9 Apr 1998 06:20:01 -0400 (EDT)


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu