hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/atm/lanai.c
....@@ -1,9 +1,5 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* lanai.c -- Copyright 1999-2003 by Mitchell Blank Jr <mitch@sfgoth.com>
2
- *
3
- * This program is free software; you can redistribute it and/or
4
- * modify it under the terms of the GNU General Public License
5
- * as published by the Free Software Foundation; either version
6
- * 2 of the License, or (at your option) any later version.
73 *
84 * This driver supports ATM cards based on the Efficient "Lanai"
95 * chipset such as the Speedstream 3010 and the ENI-25p. The
....@@ -2023,7 +2019,7 @@
20232019 switch (*vpip) {
20242020 case ATM_VPI_ANY:
20252021 *vpip = 0;
2026
- /* FALLTHROUGH */
2022
+ fallthrough;
20272023 case 0:
20282024 break;
20292025 default:
....@@ -2544,8 +2540,6 @@
25442540 .dev_close = lanai_dev_close,
25452541 .open = lanai_open,
25462542 .close = lanai_close,
2547
- .getsockopt = NULL,
2548
- .setsockopt = NULL,
25492543 .send = lanai_send,
25502544 .phy_put = NULL,
25512545 .phy_get = NULL,