mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ingo Brückl" <ib@wupperonline.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] net: sysctl_net_core: remove unused variable
Date: Tue, 07 Apr 2015 17:39:23 +0200	[thread overview]
Message-ID: <5523fc14.7ba2f981.bm000@wupperonline.de> (raw)

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

             reply	other threads:[~2015-04-07 15:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-07 15:39 Ingo Brückl [this message]
2015-05-07 15:53 Ingo Brückl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5523fc14.7ba2f981.bm000@wupperonline.de \
    --to=ib@wupperonline.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®