mirror of https://gitee.com/openkylin/linux.git
[AX25, ROSE]: Remove useless SET_MODULE_OWNER calls.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3f072310d0
commit
86cfcb95ec
|
@ -185,7 +185,6 @@ static struct net_device_stats *nr_get_stats(struct net_device *dev)
|
|||
|
||||
void nr_setup(struct net_device *dev)
|
||||
{
|
||||
SET_MODULE_OWNER(dev);
|
||||
dev->mtu = NR_MAX_PACKET_SIZE;
|
||||
dev->hard_start_xmit = nr_xmit;
|
||||
dev->open = nr_open;
|
||||
|
|
|
@ -135,7 +135,6 @@ static struct net_device_stats *rose_get_stats(struct net_device *dev)
|
|||
|
||||
void rose_setup(struct net_device *dev)
|
||||
{
|
||||
SET_MODULE_OWNER(dev);
|
||||
dev->mtu = ROSE_MAX_PACKET_SIZE - 2;
|
||||
dev->hard_start_xmit = rose_xmit;
|
||||
dev->open = rose_open;
|
||||
|
|
Loading…
Reference in New Issue