aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/dm-sysfs.c
diff options
context:
space:
mode:
authorGravatar Mikulas Patocka <mpatocka@redhat.com> 2014-01-06 22:53:28 -0500
committerGravatar Mike Snitzer <snitzer@redhat.com> 2014-01-07 13:22:32 -0500
commit1ddd641ddcfa46d719189468b6856e9b17381a61 (patch)
tree29598896c6cd61e807a337075de578c53fed2349 /drivers/md/dm-sysfs.c
parentdm snapshot: call destroy_work_on_stack() to pair with INIT_WORK_ONSTACK() (diff)
downloadlinux-1ddd641ddcfa46d719189468b6856e9b17381a61.tar.gz
linux-1ddd641ddcfa46d719189468b6856e9b17381a61.tar.bz2
linux-1ddd641ddcfa46d719189468b6856e9b17381a61.zip
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 <mpatocka@redhat.com> Acked-by: Milan Broz <gmazyland@gmail.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-sysfs.c')
0 files changed, 0 insertions, 0 deletions