irda: irlmp_reasons[] can be static
authorWu Fengguang <fengguang.wu@intel.com>
Fri, 19 Apr 2013 17:10:45 +0000 (17:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Apr 2013 05:42:06 +0000 (01:42 -0400)
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>
net/irda/irlmp.c

index 1064621..98ad6ec 100644 (file)
@@ -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",