From: Xue jiufei Date: Thu, 9 Oct 2014 22:25:03 +0000 (-0700) Subject: ocfs2: remove unused code in dlm_new_lockres() X-Git-Tag: fixes-against-v3.18-rc2~137^2~148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ae075485e2d91921bdd64e49896b1bae87d1ba2;p=pandora-kernel.git ocfs2: remove unused code in dlm_new_lockres() Remove the branch that free res->lockname.name because the condition is never satisfied when jump to label error. Signed-off-by: joyce.xue Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed