diff options
Diffstat (limited to 'net/lapb/lapb_iface.c')
-rw-r--r-- | net/lapb/lapb_iface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c index 5d2d1f746b91..3c03f6512c5f 100644 --- a/net/lapb/lapb_iface.c +++ b/net/lapb/lapb_iface.c | |||
@@ -68,7 +68,6 @@ static void __lapb_remove_cb(struct lapb_cb *lapb) | |||
68 | lapb_put(lapb); | 68 | lapb_put(lapb); |
69 | } | 69 | } |
70 | } | 70 | } |
71 | EXPORT_SYMBOL(lapb_register); | ||
72 | 71 | ||
73 | /* | 72 | /* |
74 | * Add a socket to the bound sockets list. | 73 | * Add a socket to the bound sockets list. |
@@ -115,7 +114,6 @@ static struct lapb_cb *lapb_create_cb(void) | |||
115 | { | 114 | { |
116 | struct lapb_cb *lapb = kzalloc(sizeof(*lapb), GFP_ATOMIC); | 115 | struct lapb_cb *lapb = kzalloc(sizeof(*lapb), GFP_ATOMIC); |
117 | 116 | ||
118 | |||
119 | if (!lapb) | 117 | if (!lapb) |
120 | goto out; | 118 | goto out; |
121 | 119 | ||
@@ -167,6 +165,7 @@ out: | |||
167 | write_unlock_bh(&lapb_list_lock); | 165 | write_unlock_bh(&lapb_list_lock); |
168 | return rc; | 166 | return rc; |
169 | } | 167 | } |
168 | EXPORT_SYMBOL(lapb_register); | ||
170 | 169 | ||
171 | int lapb_unregister(struct net_device *dev) | 170 | int lapb_unregister(struct net_device *dev) |
172 | { | 171 | { |