All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: sysctl_net_core: remove unused variable
@ 2015-04-07 15:39 Ingo Brückl
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Brückl @ 2015-04-07 15:39 UTC (permalink / raw)
  To: linux-kernel

The variable isn't needed any longer
and its definition causes a compiler warning.

Signed-off-by: Ingo Brückl <ib@wupperonline.de>

diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index 8ce351f..74ff02f 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -23,7 +23,6 @@
 #include <net/pkt_sched.h>

 static int zero = 0;
-static int one = 1;
 static int ushort_max = USHRT_MAX;
 static int min_sndbuf = SOCK_MIN_SNDBUF;
 static int min_rcvbuf = SOCK_MIN_RCVBUF;
--
1.7.10

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] net: sysctl_net_core: remove unused variable
@ 2015-05-07 15:53 Ingo Brückl
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Brückl @ 2015-05-07 15:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: alexey.kodanev, davem

The variable isn't needed any longer
and its definition causes a compiler warning.

Signed-off-by: Ingo Brückl <ib@wupperonline.de>

diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index 8ce351f..74ff02f 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -23,7 +23,6 @@
 #include <net/pkt_sched.h>

 static int zero = 0;
-static int one = 1;
 static int ushort_max = USHRT_MAX;
 static int min_sndbuf = SOCK_MIN_SNDBUF;
 static int min_rcvbuf = SOCK_MIN_RCVBUF;
--
1.7.10

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-07 16:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 15:39 [PATCH] net: sysctl_net_core: remove unused variable Ingo Brückl
2015-05-07 15:53 Ingo Brückl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.