diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2017-09-22 14:40:43 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-10-04 23:42:12 +1100 |
commit | 22085337f5b9d7a7adf5c6cc4e007c28e5216a7f (patch) | |
tree | 040ed8b5d0e5620b6ebbdb119e678e6544ea779d /drivers/lightnvm/pblk-gc.c | |
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>
Diffstat (limited to 'drivers/lightnvm/pblk-gc.c')
0 files changed, 0 insertions, 0 deletions