From: David Teigland Date: Mon, 22 Mar 2010 08:50:11 -0500 Subject: [Cluster-devel] [patch] dlm: cleanup remove unused code In-Reply-To: <20100322120354.GB21571@bicker> References: <20100322120354.GB21571@bicker> Message-ID: <20100322135011.GA29680@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, Mar 22, 2010 at 03:03:54PM +0300, Dan Carpenter wrote: > Smatch complains because "lkb" is never NULL. Looking at it, the original > code actually adds the new element to the end of the list fine, so we can > just get rid of the if condition. This code is four years old and no one > has complained so it must work. Thanks, queued for the next pull. Dave