bpf: Remove redundant ifdef
authorMickaël Salaün <mic@digikod.net>
Sat, 11 Feb 2017 19:37:08 +0000 (20:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2017 17:14:54 +0000 (12:14 -0500)
commitcdc6a4ba88fbc26de1ffe8cbcaf0e41d316046fd
treeac31bf553c0c9905d98b276efac76da4f89f8a6d
parent99f5711e7c15e997c4eb34b378502ef6f3982233
bpf: Remove redundant ifdef

Remove a useless ifdef __NR_bpf as requested by Wang Nan.

Inline one-line static functions as it was in the bpf_sys.h file.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: David S. Miller <davem@davemloft.net>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/r/828ab1ff-4dcf-53ff-c97b-074adb895006@huawei.com
Acked-by: Wang Nan <wangnan0@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/lib/bpf/bpf.c