summaryrefslogtreecommitdiffstats
path: root/net/irda
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2013-04-19 19:10:45 +0200
committerDavid S. Miller <davem@davemloft.net>2013-04-25 07:42:06 +0200
commit133b94245c54bb2d8832bfb15975b931bc00d914 (patch)
treea4897a98127484462d9f5c3364681116531346b9 /net/irda
parentnet: remove redundant code in dev_hard_start_xmit() (diff)
downloadlinux-133b94245c54bb2d8832bfb15975b931bc00d914.tar.xz
linux-133b94245c54bb2d8832bfb15975b931bc00d914.zip
irda: irlmp_reasons[] can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda')
-rw-r--r--net/irda/irlmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/irlmp.c b/net/irda/irlmp.c
index 1064621da6f6..98ad6ec4bd3c 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",