aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/syscall.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-29 15:01:16 +0100
committerDavid S. Miller <davem@davemloft.net>2017-10-01 04:08:00 +0100
commitb1c49d14200dae47544f7ea6ee9040ded01f8425 (patch)
treed4fe30350d8cbe74e5597ca2ba21a61425d3a392 /kernel/bpf/syscall.c
parentnet: ipmr: make function ipmr_notifier_init static (diff)
downloadlinux-dev-b1c49d14200dae47544f7ea6ee9040ded01f8425.tar.xz
linux-dev-b1c49d14200dae47544f7ea6ee9040ded01f8425.zip
net_sched: remove redundant assignment to ret
The assignment of -EINVAL to variable ret is redundant as it is being overwritten on the following error exit paths or to the return value from the following call to basic_set_parms. Fix this up by removing it. Cleans up clang warning message: net/sched/cls_basic.c:185:2: warning: Value stored to 'err' is never read Fixes: 1d8134fea2eb ("net_sched: use idr to allocate basic filter handles") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions