]> git.baikalelectronics.ru Git - kernel.git/commit
bpf tools: Remove expression with no effect
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 25 Apr 2016 02:34:53 +0000 (19:34 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 Apr 2016 12:58:57 +0000 (09:58 -0300)
commit042312d1f43d0061abcc633eaf54c69f514facda
tree7b2e38e78177de5a22ba1dee3e201f9b060a810e
parentd9f6bca758e8441d78af1d3efe39707b6569d4ae
bpf tools: Remove expression with no effect

Assigning "attr" to "attr" does not have any effect, but was caught by
Coverity, so let's remove this.

Reported-by: coverity (CID 1354720)
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Wang Nan <wangnan0@huawei.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Fixes: e8894f75b245 ("bpf tools: Introduce 'bpf' library and add bpf feature check")
Link: http://lkml.kernel.org/r/1461551694-5512-2-git-send-email-f.fainelli@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/build/feature/test-bpf.c