From: Mikulas Patocka Date: Tue, 7 Jan 2014 03:53:28 +0000 (-0500) Subject: dm: remove pointless kobject comparison in dm_get_from_kobject X-Git-Tag: v3.14-rc1~130^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ddd641ddcfa46d719189468b6856e9b17381a61;p=pandora-kernel.git dm: remove pointless kobject comparison in dm_get_from_kobject The comparison is always true and the compiler optimizes it out anyway. Milan offered additional context relative to the original commit 784aae735d ("dm: add name and uuid to sysfs") which introduced the code: "I think it is just relict of some experiments before I committed this simple embedded sysfs kobj handling". Signed-off-by: Mikulas Patocka Acked-by: Milan Broz Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed