mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2025-10-13 20:36:03 +01:00
As the comment says, rtnl_lock is acquired by the caller of this function. In fact this is not specific to 2.6.26 and later but has always been the case, so checking lock state is unnecessary and we can just call (un)register_netdevice() knowing that rtnl_lock is held.