hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/ieee802154/ieee802154.h
....@@ -1,15 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2007, 2008, 2009 Siemens AG
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2
6
- * as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
12
- *
134 */
145 #ifndef IEEE_802154_LOCAL_H
156 #define IEEE_802154_LOCAL_H
....@@ -20,7 +11,6 @@
2011 #define IEEE802154_OP(_cmd, _func) \
2112 { \
2213 .cmd = _cmd, \
23
- .policy = ieee802154_policy, \
2414 .doit = _func, \
2515 .dumpit = NULL, \
2616 .flags = GENL_ADMIN_PERM, \
....@@ -29,7 +19,6 @@
2919 #define IEEE802154_DUMP(_cmd, _func, _dump) \
3020 { \
3121 .cmd = _cmd, \
32
- .policy = ieee802154_policy, \
3322 .doit = _func, \
3423 .dumpit = _dump, \
3524 }