[Cake] [PATCH] sched: fix semicolon.cocci warnings

kbuild test robot lkp at intel.com
Thu May 3 01:05:14 EDT 2018


From: Fengguang Wu <fengguang.wu at intel.com>

net/sched/sch_cake.c:580:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 907a16741a03 ("sched: Add Common Applications Kept Enhanced (cake) qdisc")
CC: Toke Høiland-Jørgensen <toke at toke.dk>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

 sch_cake.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/net/sched/sch_cake.c
+++ b/net/sched/sch_cake.c
@@ -577,7 +577,7 @@ cake_hash(struct cake_tin_data *q, const
 	default:
 		dsthost_hash = 0;
 		srchost_hash = 0;
-	};
+	}
 
 	/* This *must* be after the above switch, since as a
 	 * side-effect it sorts the src and dst addresses.


More information about the Cake mailing list