John Keeping dac75d70bc rtl8723ds: simplify locking in rtw_change_ifname()
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.
2022-11-29 18:41:01 +00:00
..