Commit 9d8cc1b6 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik

[PATCH] drivers/net/ne3210.c: cleanups

- make two needlessly global functions static

- kill an ancient version variable
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 0bf0519d
...@@ -26,9 +26,6 @@ ...@@ -26,9 +26,6 @@
Updated to EISA probing API 5/2003 by Marc Zyngier. Updated to EISA probing API 5/2003 by Marc Zyngier.
*/ */
static const char *version =
"ne3210.c: Driver revision v0.03, 30/09/98\n";
#include <linux/module.h> #include <linux/module.h>
#include <linux/eisa.h> #include <linux/eisa.h>
#include <linux/kernel.h> #include <linux/kernel.h>
...@@ -197,7 +194,7 @@ static int __init ne3210_eisa_probe (struct device *device) ...@@ -197,7 +194,7 @@ static int __init ne3210_eisa_probe (struct device *device)
ei_status.priv = phys_mem; ei_status.priv = phys_mem;
if (ei_debug > 0) if (ei_debug > 0)
printk(version); printk("ne3210 loaded.\n");
ei_status.reset_8390 = &ne3210_reset_8390; ei_status.reset_8390 = &ne3210_reset_8390;
ei_status.block_input = &ne3210_block_input; ei_status.block_input = &ne3210_block_input;
...@@ -360,12 +357,12 @@ MODULE_DESCRIPTION("NE3210 EISA Ethernet driver"); ...@@ -360,12 +357,12 @@ MODULE_DESCRIPTION("NE3210 EISA Ethernet driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DEVICE_TABLE(eisa, ne3210_ids); MODULE_DEVICE_TABLE(eisa, ne3210_ids);
int ne3210_init(void) static int ne3210_init(void)
{ {
return eisa_driver_register (&ne3210_eisa_driver); return eisa_driver_register (&ne3210_eisa_driver);
} }
void ne3210_cleanup(void) static void ne3210_cleanup(void)
{ {
eisa_driver_unregister (&ne3210_eisa_driver); eisa_driver_unregister (&ne3210_eisa_driver);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment