commit | 22085337f5b9d7a7adf5c6cc4e007c28e5216a7f | [log] [tgz] |
---|---|---|
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | Fri Sep 22 14:40:43 2017 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Oct 04 23:42:12 2017 +1100 |
tree | 040ed8b5d0e5620b6ebbdb119e678e6544ea779d | |
parent | c3dda4b0db9cf5044010e4de88e5e5b94edf916c [diff] |
powerpc/kprobes: Some cosmetic updates to try_to_emulate() 1. This is only used in kprobes.c, so make it static. 2. Remove the un-necessary (ret == 0) comparison in the else clause. Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org> Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>