aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2014-01-06 22:53:28 -0500
committerMike Snitzer <[email protected]>2014-01-07 13:22:32 -0500
commit1ddd641ddcfa46d719189468b6856e9b17381a61 (patch)
tree29598896c6cd61e807a337075de578c53fed2349 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentc1a6416021b311fdb5b98e40ed8b29508845ed16 (diff)
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 <[email protected]> Acked-by: Milan Broz <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions