Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756250AbbDGPzm (ORCPT ); Tue, 7 Apr 2015 11:55:42 -0400 Received: from mout1.wup.tal.de ([195.8.227.225]:54908 "EHLO mout1.wup.tal.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754189AbbDGPzg (ORCPT ); Tue, 7 Apr 2015 11:55:36 -0400 X-Greylist: delayed 442 seconds by postgrey-1.27 at vger.kernel.org; Tue, 07 Apr 2015 11:55:36 EDT Message-ID: <5523fc14.7ba2f981.bm000@wupperonline.de> From: =?ISO-8859-1?Q?Ingo=20Br=FCckl?= To: linux-kernel@vger.kernel.org Subject: [PATCH] net: sysctl_net_core: remove unused variable Date: Tue, 07 Apr 2015 17:39:23 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: blueMail/Linux 1.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 763 Lines: 24 The variable isn't needed any longer and its definition causes a compiler warning. Signed-off-by: Ingo Br?ckl 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 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/