diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-02-09 14:38:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 11:38:09 -0500 |
commit | 7215032ced14f9943c8b72b61f4ac52902002158 (patch) | |
tree | c01b569f7eeb52b992972ab2e21429d2d41f6874 | |
parent | 6bb16e7ae26095892e8c51de4142d8f344793340 (diff) | |
download | linux-7215032ced14f9943c8b72b61f4ac52902002158.tar.bz2 |
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 <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/sched/cls_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } } |