Skip to content

Commit

Permalink
sched: add missing curly braces in else branch in tc_ctl_tfilter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Feb 10, 2017
1 parent 6bb16e7 commit 7215032
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/sched/cls_api.c
Original file line number Diff line number Diff line change
@@ -315,8 +315,9 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n)
err = -EINVAL;
goto errout;
}
} else
} else {
tp = NULL;
}
break;
}
}

0 comments on commit 7215032

Please sign in to comment.