From patchwork Sat Apr 20 03:10:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kbuild test robot X-Patchwork-Id: 238137 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 E1CBE2C016C for ; Sat, 20 Apr 2013 13:11:12 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965679Ab3DTDK4 (ORCPT ); Fri, 19 Apr 2013 23:10:56 -0400 Received: from mga11.intel.com ([192.55.52.93]:32095 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965630Ab3DTDKz (ORCPT ); Fri, 19 Apr 2013 23:10:55 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 19 Apr 2013 20:10:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,513,1363158000"; d="scan'208";a="322029674" Received: from unknown (HELO wfg-t420.sh.intel.com) ([10.255.20.196]) by fmsmga001.fm.intel.com with ESMTP; 19 Apr 2013 20:10:46 -0700 Received: from wfg by wfg-t420.sh.intel.com with local (Exim 4.77) (envelope-from ) id 1UTOCL-0002Dv-ON; Sat, 20 Apr 2013 11:10:45 +0800 Date: Sat, 20 Apr 2013 11:10:45 +0800 From: Fengguang Wu To: "David S. Miller" Cc: Dan Carpenter , netdev@vger.kernel.org Subject: [PATCH net] irda: irlmp_reasons[] can be static Message-ID: <20130420031045.GC7366@localhost> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <5171ea81.dFNn973/RcdmuuQR%fengguang.wu@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Fengguang Wu Acked-by: Dan Carpenter --- irlmp.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/irda/irlmp.c b/net/irda/irlmp.c index 1064621..98ad6ec 100644 --- a/net/irda/irlmp.c +++ b/net/irda/irlmp.c @@ -58,7 +58,7 @@ int sysctl_discovery_slots = 6; /* 6 slots by default */ int sysctl_lap_keepalive_time = LM_IDLE_TIMEOUT * 1000 / HZ; char sysctl_devname[65]; -const char *irlmp_reasons[] = { +static const char *irlmp_reasons[] = { "ERROR, NOT USED", "LM_USER_REQUEST", "LM_LAP_DISCONNECT",