Skip to content

Commit

Permalink
8390p: Get rid of init_module/cleanup_module
Browse files Browse the repository at this point in the history
This trivial patch just "gets rid of" init_module and cleanup_module
from drivers/net/8390p.c

Signed-off-by: Mateusz Mandera <ormi.linux@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Mateusz Mandera authored and David S. Miller committed Apr 22, 2009
1 parent 4cb9be7 commit 362b76e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions drivers/net/8390p.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,15 @@ void NS8390p_init(struct net_device *dev, int startp)
}
EXPORT_SYMBOL(NS8390p_init);

#if defined(MODULE)

int init_module(void)
static int __init 8390p_init_module(void)
{
return 0;
}

void cleanup_module(void)
static void __exit 8390p_cleanup_module(void)
{
}

#endif /* MODULE */
module_init(8390p_init_module);
module_exit(8390p_cleanup_module);
MODULE_LICENSE("GPL");

0 comments on commit 362b76e

Please sign in to comment.