irda: irlmp_reasons[] can be static
authorWu Fengguang <[email protected]>
Fri, 19 Apr 2013 17:10:45 +0000 (17:10 +0000)
committerDavid S. Miller <[email protected]>
Thu, 25 Apr 2013 05:42:06 +0000 (01:42 -0400)
Signed-off-by: Fengguang Wu <[email protected]>
Acked-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/irda/irlmp.c

index 1064621da6f6c297ee7deaa439e9569d9f37cf73..98ad6ec4bd3cc40190f199151b9fb2f9348a9d07 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",