aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2020-04-28 22:31:52 +1000
committerMichael Ellerman <[email protected]>2020-05-15 11:58:55 +1000
commit24ac99e97fa7b8f0db9b48413a76def9cf73295c (patch)
treeef88ec673b15882982a623be9336c1b8c89bb1d1 /tools/perf/scripts/python
parent7ffa8b7dc11752827329e4e84a574ea6aaf24716 (diff)
powerpc: Drop unneeded cast in task_pt_regs()
There's no need to cast in task_pt_regs() as tsk->thread.regs should already be a struct pt_regs. If someone's using task_pt_regs() on something that's not a task but happens to have a thread.regs then we'll deal with them later. Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions