patch-2.1.95 linux/drivers/char/tga.c
Next file: linux/drivers/misc/parport_pc.c
Previous file: linux/drivers/block/ll_rw_blk.c
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Thu Apr  9 13:10:15 1998
-  Orig file: 
v2.1.94/linux/drivers/char/tga.c
-  Orig date: 
Mon Apr  6 17:40:59 1998
diff -u --recursive --new-file v2.1.94/linux/drivers/char/tga.c linux/drivers/char/tga.c
@@ -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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov