Parcourir la source

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>
Jiri Pirko il y a 8 ans
Parent
commit
7215032ced
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      net/sched/cls_api.c

+ 2 - 1
net/sched/cls_api.c

@@ -315,8 +315,9 @@ replay:
 					err = -EINVAL;
 					goto errout;
 				}
-			} else
+			} else {
 				tp = NULL;
+			}
 			break;
 		}
 	}