Re: [PATCH] atm: nicstar: Replace spin_is_locked() with spin_trylock()
From: Paul E. McKenney
Date: Sat Oct 06 2018 - 12:59:56 EST
On Fri, Oct 05, 2018 at 02:32:36PM -0700, David Miller wrote:
> From: Lance Roy <ldr709@xxxxxxxxx>
> Date: Thu, 4 Oct 2018 00:46:57 -0700
>
> > ns_poll() used spin_is_locked() + spin_lock() to get achieve the same
> > thing as a spin_trylock(), so simplify it by using that instead. This is
> > also a step towards possibly removing spin_is_locked().
> >
> > Signed-off-by: Lance Roy <ldr709@xxxxxxxxx>
>
> Applied to net-next.
Thank you, Dave! I have dropped this one from my tree.
Thanx, Paul