projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e12472d
)
irda: irlmp_reasons[] can be static
author
Wu Fengguang
<fengguang.wu@intel.com>
Fri, 19 Apr 2013 17:10:45 +0000
(17:10 +0000)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/net/irda/irlmp.c
b/net/irda/irlmp.c
index 1064621da6f6c297ee7deaa439e9569d9f37cf73..98ad6ec4bd3cc40190f199151b9fb2f9348a9d07 100644
(file)
--- 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",