From patchwork Sat Oct 24 15:11:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kbuild test robot X-Patchwork-Id: 535416 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 67D1C14131D for ; Sun, 25 Oct 2015 02:12:47 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752610AbbJXPMm (ORCPT ); Sat, 24 Oct 2015 11:12:42 -0400 Received: from mga02.intel.com ([134.134.136.20]:63243 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751803AbbJXPMl (ORCPT ); Sat, 24 Oct 2015 11:12:41 -0400 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 24 Oct 2015 08:12:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,193,1444719600"; d="scan'208";a="670931863" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 24 Oct 2015 08:12:38 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1Zq0Uc-000HuN-LL; Sat, 24 Oct 2015 23:12:26 +0800 Date: Sat, 24 Oct 2015 23:11:00 +0800 From: kbuild test robot To: kbuild-internal@linux.intel.com, lkp@eclists.intel.com Cc: kbuild-all@01.org, netdev@vger.kernel.org Subject: [RFC PATCH net-next] tipc: tipc_link_is_active() can be static Message-ID: <20151024151100.GA46525@lkp-hsx03> References: <201510242340.mc7bt8l1%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201510242340.mc7bt8l1%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org TO: "David S. Miller" CC: netdev@vger.kernel.org CC: Jon Maloy CC: Ying Xue CC: tipc-discussion@lists.sourceforge.net CC: linux-kernel@vger.kernel.org Signed-off-by: Fengguang Wu Acked-by: Jon Maloy --- link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/tipc/link.c b/net/tipc/link.c index 4449fa0..b637276 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c @@ -173,7 +173,7 @@ bool link_is_bc_rcvlink(struct tipc_link *l) return ((l->bc_rcvlink == l) && !link_is_bc_sndlink(l)); } -int tipc_link_is_active(struct tipc_link *l) +static int tipc_link_is_active(struct tipc_link *l) { return l->active; }