Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next] act_pedit: remove unnecessary semicolon
@ 2018-07-28 10:29 YueHaibing
  0 siblings, 0 replies; only message in thread
From: YueHaibing @ 2018-07-28 10:29 UTC (permalink / raw)
  To: davem, jhs, xiyou.wangcong, jiri; +Cc: linux-kernel, netdev, YueHaibing

net/sched/act_pedit.c:289:2-3: Unneeded semicolon

Remove unneeded semicolon.

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

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 net/sched/act_pedit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/sched/act_pedit.c b/net/sched/act_pedit.c
index 9ab5d81..43ba999 100644
--- a/net/sched/act_pedit.c
+++ b/net/sched/act_pedit.c
@@ -286,7 +286,7 @@ static int pedit_skb_hdr_offset(struct sk_buff *skb,
 	default:
 		ret = -EINVAL;
 		break;
-	};
+	}
 
 	return ret;
 }
-- 
2.7.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-28 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-28 10:29 [PATCH net-next] act_pedit: remove unnecessary semicolon YueHaibing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox