hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/nfc/rawsock.c
....@@ -1,22 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2011 Instituto Nokia de Tecnologia
34 *
45 * Authors:
56 * Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
67 * Lauro Ramos Venancio <lauro.venancio@openbossa.org>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
208 */
219
2210 #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__
....@@ -288,8 +276,6 @@
288276 .ioctl = sock_no_ioctl,
289277 .listen = sock_no_listen,
290278 .shutdown = sock_no_shutdown,
291
- .setsockopt = sock_no_setsockopt,
292
- .getsockopt = sock_no_getsockopt,
293279 .sendmsg = rawsock_sendmsg,
294280 .recvmsg = rawsock_recvmsg,
295281 .mmap = sock_no_mmap,
....@@ -308,8 +294,6 @@
308294 .ioctl = sock_no_ioctl,
309295 .listen = sock_no_listen,
310296 .shutdown = sock_no_shutdown,
311
- .setsockopt = sock_no_setsockopt,
312
- .getsockopt = sock_no_getsockopt,
313297 .sendmsg = sock_no_sendmsg,
314298 .recvmsg = rawsock_recvmsg,
315299 .mmap = sock_no_mmap,