Commit b3652f38 authored by David S. Miller's avatar David S. Miller

[SKFDDI]: Use SET_MODULE_OWNER.

parent e2b02cb4
......@@ -539,6 +539,8 @@ static void init_dev(struct net_device *dev, u_long iobase)
dev->header_cache_update = NULL; /* not supported */
dev->change_mtu = NULL; /* set in fddi_setup() */
SET_MODULE_OWNER(dev);
/* Initialize remaining device structure information */
fddi_setup(dev);
} // init_device
......@@ -791,8 +793,6 @@ static int skfp_open(struct net_device *dev)
smt_online(smc, 1);
STI_FBI();
MOD_INC_USE_COUNT;
/* Clear local multicast address tables */
mac_clear_multicast(smc);
......@@ -854,8 +854,6 @@ static int skfp_close(struct net_device *dev)
dev_kfree_skb(skb);
}
MOD_DEC_USE_COUNT;
return (0);
} // skfp_close
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment