Commit bf73d1c5d726ac717755efc7e15d2a86dd383448
Committed by
David S. Miller
1 parent
4c6ea29d82
Exists in
master
and in
39 other branches
[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>
Showing 4 changed files with 1 additions and 8 deletions Side-by-side Diff
net/irda/irlmp.c
... | ... | @@ -53,7 +53,6 @@ |
53 | 53 | /* These can be altered by the sysctl interface */ |
54 | 54 | int sysctl_discovery = 0; |
55 | 55 | int sysctl_discovery_timeout = 3; /* 3 seconds by default */ |
56 | -EXPORT_SYMBOL(sysctl_discovery_timeout); | |
57 | 56 | int sysctl_discovery_slots = 6; /* 6 slots by default */ |
58 | 57 | int sysctl_lap_keepalive_time = LM_IDLE_TIMEOUT * 1000 / HZ; |
59 | 58 | char sysctl_devname[65]; |
... | ... | @@ -67,7 +66,6 @@ |
67 | 66 | "LM_INIT_DISCONNECT", |
68 | 67 | "ERROR, NOT USED", |
69 | 68 | }; |
70 | -EXPORT_SYMBOL(irlmp_reasons); | |
71 | 69 | |
72 | 70 | /* |
73 | 71 | * Function irlmp_init (void) |
... | ... | @@ -675,7 +673,6 @@ |
675 | 673 | |
676 | 674 | return new; |
677 | 675 | } |
678 | -EXPORT_SYMBOL(irlmp_dup); | |
679 | 676 | |
680 | 677 | /* |
681 | 678 | * Function irlmp_disconnect_request (handle, userdata) |
net/irda/irnet/irnet.h
... | ... | @@ -517,9 +517,6 @@ |
517 | 517 | irda_irnet_init(void); /* Initialise IrDA part of IrNET */ |
518 | 518 | extern void |
519 | 519 | irda_irnet_cleanup(void); /* Teardown IrDA part of IrNET */ |
520 | -/* ---------------------------- MODULE ---------------------------- */ | |
521 | -extern int | |
522 | - irnet_init(void); /* Initialise IrNET module */ | |
523 | 520 | |
524 | 521 | /**************************** VARIABLES ****************************/ |
525 | 522 |
net/irda/irnet/irnet_ppp.c