sched: add missing curly braces in else branch in tc_ctl_tfilter
authorJiri Pirko <jiri@mellanox.com>
Thu, 9 Feb 2017 13:38:59 +0000 (14:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:38:09 +0000 (11:38 -0500)
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>
net/sched/cls_api.c

index f44378c..48864ad 100644 (file)
@@ -315,8 +315,9 @@ replay:
                                        err = -EINVAL;
                                        goto errout;
                                }
-                       } else
+                       } else {
                                tp = NULL;
+                       }
                        break;
                }
        }