blob: 2fde9371ab0db7ddf4e5ac29797123259814a108 [file] [log] [blame]
Ishan Mittalb7998262017-01-17 16:11:50 +05301From 2c4f64ce33f86186bcc3d8501b5498dd54800bc0 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
Ishan Mittalb7998262017-01-17 16:11:50 +05304Subject: [PATCH 282/365] 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--
Ishan Mittalb7998262017-01-17 16:11:50 +0530252.7.4
Allen Martinfc468d82016-11-15 17:57:52 -080026