Re: [PATCH v2] powerpc/kprobes: Remove redundant code

2020-03-26 Thread Michael Ellerman
On Wed, 2020-02-19 at 08:05:57 UTC, Christophe Leroy wrote: > At the time being we have something like > > if (something) { > p = get(); > if (p) { > if (something_wrong) > goto out; > ...

[PATCH v2] powerpc/kprobes: Remove redundant code

2020-02-19 Thread Christophe Leroy
At the time being we have something like if (something) { p = get(); if (p) { if (something_wrong) goto out; ... return; } else if (a !=