mirror of https://gitee.com/openkylin/linux.git
ath6kl: remove SET_MODULE_OWNER usage
This is not required. Cc: Naveen Singh <nsingh@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
e4551c7bb1
commit
8f05c5b940
|
@ -1573,10 +1573,6 @@ init_netdev(struct net_device *dev, char *name)
|
|||
strcpy(dev->name, name);
|
||||
}
|
||||
|
||||
#ifdef SET_MODULE_OWNER
|
||||
SET_MODULE_OWNER(dev);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CHECKSUM_OFFLOAD
|
||||
if(csumOffload){
|
||||
dev->features |= NETIF_F_IP_CSUM; /*advertise kernel capability to do TCP/UDP CSUM offload for IPV4*/
|
||||
|
|
Loading…
Reference in New Issue