From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] atm: nicstar: Replace spin_is_locked() with spin_trylock() Date: Fri, 05 Oct 2018 14:32:36 -0700 (PDT) Message-ID: <20181005.143236.511366748709139149.davem@davemloft.net> References: <20181004074657.17597-1-ldr709@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, paulmck@linux.ibm.com, 3chas3@gmail.com, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org To: ldr709@gmail.com Return-path: In-Reply-To: <20181004074657.17597-1-ldr709@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Lance Roy 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 Applied to net-next.