[PATCH 1/3] powerpc: bpf: remove redundant check for non-null image

Alexei Starovoitov alexei.starovoitov at gmail.com
Sat Jan 14 07:09:47 AEDT 2017


On Fri, Jan 13, 2017 at 10:40:00PM +0530, Naveen N. Rao wrote:
> From: Daniel Borkmann <daniel at iogearbox.net>
> 
> We have a check earlier to ensure we don't proceed if image is NULL. As
> such, the redundant check can be removed.
> 
> Signed-off-by: Daniel Borkmann <daniel at iogearbox.net>
> [Added similar changes for classic BPF JIT]
> Signed-off-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>

Acked-by: Alexei Starovoitov <ast at kernel.org>



More information about the Linuxppc-dev mailing list