diff options
Diffstat (limited to 'net/dsa/tag_dsa.c')
| -rw-r--r-- | net/dsa/tag_dsa.c | 15 | 
1 files changed, 1 insertions, 14 deletions
diff --git a/net/dsa/tag_dsa.c b/net/dsa/tag_dsa.c index 98dfe80b453..cacce1e22f9 100644 --- a/net/dsa/tag_dsa.c +++ b/net/dsa/tag_dsa.c @@ -186,20 +186,7 @@ out:  	return 0;  } -static struct packet_type dsa_packet_type __read_mostly = { +struct packet_type dsa_packet_type __read_mostly = {  	.type	= cpu_to_be16(ETH_P_DSA),  	.func	= dsa_rcv,  }; - -static int __init dsa_init_module(void) -{ -	dev_add_pack(&dsa_packet_type); -	return 0; -} -module_init(dsa_init_module); - -static void __exit dsa_cleanup_module(void) -{ -	dev_remove_pack(&dsa_packet_type); -} -module_exit(dsa_cleanup_module);  | 
