From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752188AbbIFOVL (ORCPT ); Sun, 6 Sep 2015 10:21:11 -0400 Received: from 78-32-181-23.static.enta.net ([78.32.181.23]:50639 "EHLO mail.linicks.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751828AbbIFOVG (ORCPT ); Sun, 6 Sep 2015 10:21:06 -0400 X-Greylist: delayed 455 seconds by postgrey-1.27 at vger.kernel.org; Sun, 06 Sep 2015 10:21:06 EDT Message-ID: <55EC4A03.905@linicks.net> Date: Sun, 06 Sep 2015 15:13:23 +0100 From: Nick Warne User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: [PATCH] net/core/sysctl_net_core.c unused variable Content-Type: multipart/mixed; boundary="------------070902070903020102030106" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------070902070903020102030106 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit gcc version 4.8.2 (GCC) warns that 'static int one = 1;' is declared but not used in file net/core/sysctl_net_core.c. Reading the file, that is the case. Attached is a patch to remove it. Signed-off-by: Nick Warne Nick -- Gosh that takes me back... or is it forward? That's the trouble with time travel, you never can tell." -- Doctor Who "Androids of Tara" --------------070902070903020102030106 Content-Type: text/plain; charset=UTF-8; name="patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch" LS0tIGxpbnV4LTMuMTguMjEvbmV0L2NvcmUvc3lzY3RsX25ldF9jb3JlLmMub3JpZwkyMDE1 LTA5LTA2IDE1OjAzOjA1LjA2NjMwNjY3MCArMDEwMAorKysgbGludXgtMy4xOC4yMS9uZXQv Y29yZS9zeXNjdGxfbmV0X2NvcmUuYwkyMDE1LTA5LTA2IDE1OjAzOjE0LjUwMTAzNDM0OCAr MDEwMApAQCAtMjMsNyArMjMsNiBAQAogI2luY2x1ZGUgPG5ldC9wa3Rfc2NoZWQuaD4KIAog c3RhdGljIGludCB6ZXJvID0gMDsKLXN0YXRpYyBpbnQgb25lID0gMTsKIHN0YXRpYyBpbnQg dXNob3J0X21heCA9IFVTSFJUX01BWDsKIHN0YXRpYyBpbnQgbWluX3NuZGJ1ZiA9IFNPQ0tf TUlOX1NOREJVRjsKIHN0YXRpYyBpbnQgbWluX3JjdmJ1ZiA9IFNPQ0tfTUlOX1JDVkJVRjsK --------------070902070903020102030106--