From: Jiri Pirko Date: Thu, 9 Feb 2017 13:38:59 +0000 (+0100) Subject: sched: add missing curly braces in else branch in tc_ctl_tfilter X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7215032ced14f9943c8b72b61f4ac52902002158;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sched: add missing curly braces in else branch in tc_ctl_tfilter Curly braces need to be there, for stylistic reasons. Signed-off-by: Jiri Pirko Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller --- diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index f44378c4859f..48864ad2322d 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -315,8 +315,9 @@ replay: err = -EINVAL; goto errout; } - } else + } else { tp = NULL; + } break; } }