Mikulas Patocka 1ddd641ddc 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>
2014-01-07 13:22:32 -05:00
..
2013-09-26 15:33:18 -07:00
2013-11-09 18:20:22 -05:00
2013-08-23 09:02:13 -04:00
2013-08-23 09:02:13 -04:00
2013-09-05 20:46:06 -04:00
2013-11-09 18:20:22 -05:00
2013-09-05 20:46:06 -04:00
2013-11-20 13:05:25 -08:00
2013-11-20 13:05:25 -08:00
2013-11-20 13:05:25 -08:00