blob: a1c599021eb98afce4cd35ae153113a33bef8551 [file] [log] [blame]
Arvind M8e87d852018-01-29 00:04:29 -08001From 3adb3306e77819662ad9ab17dc1852a2f04e36be Mon Sep 17 00:00:00 2001
Allen Martinfc468d82016-11-15 17:57:52 -08002From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
3Date: Thu, 4 Feb 2016 18:59:19 +0100
Arvind M10268e72017-12-04 22:18:06 -08004Subject: [PATCH 282/366] net: dev: make xmit_rec_dec() void
Allen Martinfc468d82016-11-15 17:57:52 -08005
6Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
7---
8 net/core/dev.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/net/core/dev.c b/net/core/dev.c
Ishan Mittalb7998262017-01-17 16:11:50 +053012index 0aaf93b..14f7b58 100644
Allen Martinfc468d82016-11-15 17:57:52 -080013--- a/net/core/dev.c
14+++ b/net/core/dev.c
Ishan Mittalb7998262017-01-17 16:11:50 +053015@@ -2984,7 +2984,7 @@ static inline void xmit_rec_inc(void)
Allen Martinfc468d82016-11-15 17:57:52 -080016 __this_cpu_inc(xmit_recursion);
17 }
18
19-static inline int xmit_rec_dec(void)
20+static inline void xmit_rec_dec(void)
21 {
22 __this_cpu_dec(xmit_recursion);
23 }
24--
Arvind M10268e72017-12-04 22:18:06 -0800251.9.1
Allen Martinfc468d82016-11-15 17:57:52 -080026