hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/atm/horizon.c
....@@ -1,23 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 Madge Horizon ATM Adapter driver.
34 Copyright (C) 1995-1999 Madge Networks Ltd.
45
5
- This program is free software; you can redistribute it and/or modify
6
- it under the terms of the GNU General Public License as published by
7
- the Free Software Foundation; either version 2 of the License, or
8
- (at your option) any later version.
9
-
10
- This program is distributed in the hope that it will be useful,
11
- but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- GNU General Public License for more details.
14
-
15
- You should have received a copy of the GNU General Public License
16
- along with this program; if not, write to the Free Software
17
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
-
19
- The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
20
- system and in the file COPYING in the Linux kernel source.
216 */
227
238 /*
....@@ -2541,46 +2526,6 @@
25412526 // say the VPI/VCI is free again
25422527 clear_bit(ATM_VF_ADDR,&atm_vcc->flags);
25432528 }
2544
-
2545
-#if 0
2546
-static int hrz_getsockopt (struct atm_vcc * atm_vcc, int level, int optname,
2547
- void *optval, int optlen) {
2548
- hrz_dev * dev = HRZ_DEV(atm_vcc->dev);
2549
- PRINTD (DBG_FLOW|DBG_VCC, "hrz_getsockopt");
2550
- switch (level) {
2551
- case SOL_SOCKET:
2552
- switch (optname) {
2553
-// case SO_BCTXOPT:
2554
-// break;
2555
-// case SO_BCRXOPT:
2556
-// break;
2557
- default:
2558
- return -ENOPROTOOPT;
2559
- };
2560
- break;
2561
- }
2562
- return -EINVAL;
2563
-}
2564
-
2565
-static int hrz_setsockopt (struct atm_vcc * atm_vcc, int level, int optname,
2566
- void *optval, unsigned int optlen) {
2567
- hrz_dev * dev = HRZ_DEV(atm_vcc->dev);
2568
- PRINTD (DBG_FLOW|DBG_VCC, "hrz_setsockopt");
2569
- switch (level) {
2570
- case SOL_SOCKET:
2571
- switch (optname) {
2572
-// case SO_BCTXOPT:
2573
-// break;
2574
-// case SO_BCRXOPT:
2575
-// break;
2576
- default:
2577
- return -ENOPROTOOPT;
2578
- };
2579
- break;
2580
- }
2581
- return -EINVAL;
2582
-}
2583
-#endif
25842529
25852530 #if 0
25862531 static int hrz_ioctl (struct atm_dev * atm_dev, unsigned int cmd, void *arg) {