summaryrefslogtreecommitdiffstats
path: root/fs/dlm/user.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-22 15:03:54 +0300
committerDavid Teigland <teigland@redhat.com>2010-04-30 14:52:28 -0500
commit99fb19d49ecbeb390e023f58867c227a15f422f7 (patch)
tree80560a57aa2b588ceaff2f65073c250c3bb317a1 /fs/dlm/user.c
parentbe1066bbcd443a65df312fdecea7e4959adedb45 (diff)
downloadop-kernel-dev-99fb19d49ecbeb390e023f58867c227a15f422f7.zip
op-kernel-dev-99fb19d49ecbeb390e023f58867c227a15f422f7.tar.gz
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: Dan Carpenter <error27@gmail.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/user.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud