From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751627AbcBOCJq (ORCPT ); Sun, 14 Feb 2016 21:09:46 -0500 Received: from ozlabs.org ([103.22.144.67]:53287 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751430AbcBOCJo (ORCPT ); Sun, 14 Feb 2016 21:09:44 -0500 Date: Mon, 15 Feb 2016 13:09:41 +1100 From: Stephen Rothwell To: David Miller , Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Nikolay Borisov Subject: linux-next: build warning after merge of the net-next tree Message-ID: <20160215130941.4ce2ae28@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, After merging the net-next tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: net/ipv4/igmp.c: In function 'igmp_group_added': net/ipv4/igmp.c:1227:14: warning: unused variable 'net' [-Wunused-variable] struct net *net = dev_net(in_dev->dev); ^ net/ipv4/igmp.c: In function 'ip_mc_inc_group': net/ipv4/igmp.c:1319:14: warning: unused variable 'net' [-Wunused-variable] struct net *net = dev_net(in_dev->dev); ^ net/ipv4/igmp.c: In function 'ip_mc_init_dev': net/ipv4/igmp.c:1646:14: warning: unused variable 'net' [-Wunused-variable] struct net *net = dev_net(in_dev->dev); ^ net/ipv4/igmp.c: In function 'ip_mc_up': net/ipv4/igmp.c:1665:14: warning: unused variable 'net' [-Wunused-variable] struct net *net = dev_net(in_dev->dev); ^ Introduced by commits 87a8a2ae65b7 ("igmp: Namespaceify igmp_llm_reports sysctl knob") 165094afcee7 ("igmp: Namespacify igmp_qrv sysctl knob") CONFIG_IP_MULTICAST is not set for this build. -- Cheers, Stephen Rothwell