aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/tokenring/madgemc.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-05-02 03:46:43 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-06-26 18:29:26 -0400
commitde70b4c87b8f1d484cf533536c0c6ce2e05101cf (patch)
treefb84c46cb5749d8b765cf6ffd61d87a468ef128a /drivers/net/tokenring/madgemc.c
parent93ad4fb04f5dd82fe8ace1db7617c9dcb954cf60 (diff)
[PATCH] drivers/net/tokenring/: cleanups
This patch contains the follwing cleanups: - make needlessly global code static - remove obsolete Emacs settings Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'drivers/net/tokenring/madgemc.c')
-rw-r--r--drivers/net/tokenring/madgemc.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/net/tokenring/madgemc.c b/drivers/net/tokenring/madgemc.c
index cfae2bbf216..659cbdbef7f 100644
--- a/drivers/net/tokenring/madgemc.c
+++ b/drivers/net/tokenring/madgemc.c
@@ -625,7 +625,7 @@ static int madgemc_chipset_init(struct net_device *dev)
/*
* Disable the board, and put back into power-up state.
*/
-void madgemc_chipset_close(struct net_device *dev)
+static void madgemc_chipset_close(struct net_device *dev)
{
/* disable interrupts */
madgemc_setint(dev, 0);
@@ -786,15 +786,3 @@ module_exit(madgemc_exit);
MODULE_LICENSE("GPL");
-
-/*
- * Local variables:
- * compile-command: "gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -I/usr/src/linux/drivers/net/tokenring/ -c madgemc.c"
- * alt-compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -I/usr/src/linux/drivers/net/tokenring/ -c madgemc.c"
- * c-set-style "K&R"
- * c-indent-level: 8
- * c-basic-offset: 8
- * tab-width: 8
- * End:
- */
-