netfilter: ebtables: clean up initialization of buf
authorColin Ian King <colin.king@canonical.com>
Mon, 16 Oct 2017 10:24:02 +0000 (11:24 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Nov 2017 13:47:29 +0000 (14:47 +0100)
commit9912156c2e42a5b0100da37275622262ece02c05
tree105ce8e6990f5ddf0bd216fb97603dfcd1fc64e1
parentc5504f724c86ee925e7ffb80aa342cfd57959b13
netfilter: ebtables: clean up initialization of buf

buf is initialized to buf_start and then set on the next statement
to buf_start + offsets[i].  Clean this up to just initialize buf
to buf_start + offsets[i] to clean up the clang build warning:
"Value stored to 'buf' during its initialization is never read"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/netfilter/ebtables.c