Re: [PATCH] atm: nicstar: Replace spin_is_locked() with spin_trylock()

From: David Miller
Date: Fri Oct 05 2018 - 17:32:39 EST


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.