Skip to content
Commit 99fb19d4 authored by Dan Carpenter's avatar Dan Carpenter Committed by David Teigland
Browse files

dlm: cleanup remove unused code



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.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent be1066bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment