On Thu, 2024-11-21 at 20:52 -0800, Jeff Johnson wrote: > On 11/21/2024 8:27 PM, Jeff Johnson wrote: > > On 11/21/2024 2:11 PM, Johannes Berg wrote: > > > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > > > > > The wiphy guard simplifies some code here, so use it. > > > > > > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> > > Reviewed-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> > > > > > > Now we just need guard(rtnl) :) > > wrote before I looked, it already exists... > > DEFINE_LOCK_GUARD_0(rtnl, rtnl_lock(), rtnl_unlock()) > Actually, now that I see that I added it ... I did it exactly because of this, but looks like it was removed again for some reason. johannes