hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/net/lapb/lapb_iface.c
....@@ -1,13 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * LAPB release 002
34 *
45 * This code REQUIRES 2.1.15 or higher/ NET3.038
5
- *
6
- * This module:
7
- * This module is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU General Public License
9
- * as published by the Free Software Foundation; either version
10
- * 2 of the License, or (at your option) any later version.
116 *
127 * History
138 * LAPB 001 Jonathan Naylor Started Coding
....@@ -73,7 +68,6 @@
7368 lapb_put(lapb);
7469 }
7570 }
76
-EXPORT_SYMBOL(lapb_register);
7771
7872 /*
7973 * Add a socket to the bound sockets list.
....@@ -119,7 +113,6 @@
119113 static struct lapb_cb *lapb_create_cb(void)
120114 {
121115 struct lapb_cb *lapb = kzalloc(sizeof(*lapb), GFP_ATOMIC);
122
-
123116
124117 if (!lapb)
125118 goto out;
....@@ -172,6 +165,7 @@
172165 write_unlock_bh(&lapb_list_lock);
173166 return rc;
174167 }
168
+EXPORT_SYMBOL(lapb_register);
175169
176170 int lapb_unregister(struct net_device *dev)
177171 {