Fixed a compile error and a warning.
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 16 Oct 2008 21:00:24 +0000 (21:00 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 16 Oct 2008 21:00:24 +0000 (21:00 +0000)
comedi/comedi_fops.c
comedi/drivers.c

index 985cf3f7eefae10254250a2bf41950b7aa2e96c4..747b8382048bccf60a6b2ce0ffb58b77c2ab9540 100644 (file)
@@ -2159,7 +2159,7 @@ void comedi_free_board_minor(unsigned minor)
                                sysfs_remove_link(&dev->class_dev->kobj, "device");
                                device_destroy(comedi_class, MKDEV(COMEDI_MAJOR, dev->minor));
                        }
-                       comedi_device_cleanup(dev)
+                       comedi_device_cleanup(dev);
                        kfree(dev);
                }
                kfree(info);
index ed203125cd2ff970d3959504f7bcca948c57bd5e..53987db3eaf2a2e0cc510c96b307c93ec9e0fbb7 100644 (file)
@@ -823,7 +823,6 @@ int comedi_pci_auto_config(const char *board_name, struct pci_dev *pcidev)
 void comedi_pci_auto_unconfig(struct pci_dev *pcidev)
 {
        unsigned long minor = (unsigned long)pci_get_drvdata(pcidev);
-       struct comedi_device_file_info *dev_file_info;
 
        BUG_ON(minor >= COMEDI_NUM_BOARD_MINORS);