[PATCH] dmfe.c cleanup for 2.4.0-pre1

From: Pavel Rabel (pavel@web.sajt.cz)
Date: Thu Jan 11 2001 - 10:47:32 EST


drivers/net/dmfe.c changed slighly in 2.4.0-pre1 and can be cleaned
afterwards.

Pavel Rabel

--- drivers/net/dmfe.c.old Thu Jan 11 15:42:57 2001
+++ drivers/net/dmfe.c Thu Jan 11 15:44:06 2001
@@ -1599,12 +1599,10 @@
         rc = pci_module_init(&dmfe_driver);
         if (rc < 0)
                 return rc;
- if (rc >= 0) {
- printk (KERN_INFO "Davicom DM91xx net driver loaded, version "
- DMFE_VERSION "\n");
- return 0;
- }
- return -ENODEV;
+
+ printk (KERN_INFO "Davicom DM91xx net driver loaded, version "
+ DMFE_VERSION "\n");
+ return 0;
 }
 
 /*

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:31 EST