xdp: remove redundant variable 'headroom'
authorColin Ian King <colin.king@canonical.com>
Thu, 30 Aug 2018 14:27:18 +0000 (15:27 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 31 Aug 2018 23:35:53 +0000 (01:35 +0200)
commit7296216776dbbe5094e218035debe1c0a5a3674a
tree78bf4a6545bb32505923f5ec4f56c1965f5d5642
parent18baed2684b02f752b5d800bb113e99730e1d24b
xdp: remove redundant variable 'headroom'

Variable 'headroom' is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
variable ‘headroom’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/core/xdp.c