From: Adrian Bunk This patch contains the following cleanups: - make the needlessly global function seeq8005_init static - kill an ancient version variable - remove some outdated Emacs settings Signed-off-by: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton --- drivers/net/seeq8005.c | 23 ++--------------------- 1 files changed, 2 insertions(+), 21 deletions(-) diff -puN drivers/net/seeq8005.c~drivers-net-seeq8005c-cleanups drivers/net/seeq8005.c --- 25/drivers/net/seeq8005.c~drivers-net-seeq8005c-cleanups 2005-05-02 18:21:16.000000000 -0700 +++ 25-akpm/drivers/net/seeq8005.c 2005-05-02 18:21:16.000000000 -0700 @@ -12,12 +12,6 @@ This file is a network device driver for the SEEQ 8005 chipset and the Linux operating system. -*/ - -static const char version[] = - "seeq8005.c:v1.00 8/07/95 Hamish Coleman (hamish@zot.apana.org.au)\n"; - -/* Sources: SEEQ 8005 databook @@ -91,7 +85,7 @@ static void set_multicast_list(struct ne /* Example routines you must write ;->. */ #define tx_done(dev) (inw(SEEQ_STATUS) & SEEQSTAT_TX_ON) static void hardware_send_packet(struct net_device *dev, char *buf, int length); -extern void seeq8005_init(struct net_device *dev, int startp); +static void seeq8005_init(struct net_device *dev, int startp); static inline void wait_for_buffer(struct net_device *dev); @@ -150,7 +144,6 @@ out: static int __init seeq8005_probe1(struct net_device *dev, int ioaddr) { - static unsigned version_printed; int i,j; unsigned char SA_prom[32]; int old_cfg1; @@ -291,9 +284,6 @@ static int __init seeq8005_probe1(struct } #endif - if (net_debug && version_printed++ == 0) - printk(version); - printk("%s: %s found at %#3x, ", dev->name, "seeq8005", ioaddr); /* Fill in the 'dev' fields. */ @@ -637,7 +627,7 @@ static void set_multicast_list(struct ne #endif } -void seeq8005_init(struct net_device *dev, int startp) +static void seeq8005_init(struct net_device *dev, int startp) { struct net_local *lp = netdev_priv(dev); int ioaddr = dev->base_addr; @@ -758,12 +748,3 @@ void cleanup_module(void) } #endif /* MODULE */ - -/* - * Local variables: - * compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c skeleton.c" - * version-control: t - * kept-new-versions: 5 - * tab-width: 4 - * End: - */ _