[IRDA]: Possible cleanups.
This patch contains the following possible cleanups: - make the following needlessly global function static: - irnet/irnet_ppp.c: irnet_init - remove the following unneeded EXPORT_SYMBOL's: - irlmp.c: sysctl_discovery_timeout - irlmp.c: irlmp_reasons - irlmp.c: irlmp_dup - irqueue.c: hashbin_find_next Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
4c6ea29d82
commit
bf73d1c5d7
@ -53,7 +53,6 @@ struct irlmp_cb *irlmp = NULL;
|
||||
/* These can be altered by the sysctl interface */
|
||||
int sysctl_discovery = 0;
|
||||
int sysctl_discovery_timeout = 3; /* 3 seconds by default */
|
||||
EXPORT_SYMBOL(sysctl_discovery_timeout);
|
||||
int sysctl_discovery_slots = 6; /* 6 slots by default */
|
||||
int sysctl_lap_keepalive_time = LM_IDLE_TIMEOUT * 1000 / HZ;
|
||||
char sysctl_devname[65];
|
||||
@ -67,7 +66,6 @@ const char *irlmp_reasons[] = {
|
||||
"LM_INIT_DISCONNECT",
|
||||
"ERROR, NOT USED",
|
||||
};
|
||||
EXPORT_SYMBOL(irlmp_reasons);
|
||||
|
||||
/*
|
||||
* Function irlmp_init (void)
|
||||
@ -675,7 +673,6 @@ struct lsap_cb *irlmp_dup(struct lsap_cb *orig, void *instance)
|
||||
|
||||
return new;
|
||||
}
|
||||
EXPORT_SYMBOL(irlmp_dup);
|
||||
|
||||
/*
|
||||
* Function irlmp_disconnect_request (handle, userdata)
|
||||
|
Reference in New Issue
Block a user