diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-01 21:46:43 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-26 18:29:26 -0400 |
commit | de70b4c87b8f1d484cf533536c0c6ce2e05101cf (patch) | |
tree | fb84c46cb5749d8b765cf6ffd61d87a468ef128a /drivers/net/tokenring/madgemc.c | |
parent | 93ad4fb04f5dd82fe8ace1db7617c9dcb954cf60 (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.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/net/tokenring/madgemc.c b/drivers/net/tokenring/madgemc.c index cfae2bbf2167..659cbdbef7f3 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) | |||
625 | /* | 625 | /* |
626 | * Disable the board, and put back into power-up state. | 626 | * Disable the board, and put back into power-up state. |
627 | */ | 627 | */ |
628 | void madgemc_chipset_close(struct net_device *dev) | 628 | static void madgemc_chipset_close(struct net_device *dev) |
629 | { | 629 | { |
630 | /* disable interrupts */ | 630 | /* disable interrupts */ |
631 | madgemc_setint(dev, 0); | 631 | madgemc_setint(dev, 0); |
@@ -786,15 +786,3 @@ module_exit(madgemc_exit); | |||
786 | 786 | ||
787 | MODULE_LICENSE("GPL"); | 787 | MODULE_LICENSE("GPL"); |
788 | 788 | ||
789 | |||
790 | /* | ||
791 | * Local variables: | ||
792 | * compile-command: "gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -I/usr/src/linux/drivers/net/tokenring/ -c madgemc.c" | ||
793 | * alt-compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -I/usr/src/linux/drivers/net/tokenring/ -c madgemc.c" | ||
794 | * c-set-style "K&R" | ||
795 | * c-indent-level: 8 | ||
796 | * c-basic-offset: 8 | ||
797 | * tab-width: 8 | ||
798 | * End: | ||
799 | */ | ||
800 | |||