diff mbox series

[iproute2,02/10] genl: use SPDX

Message ID 20230111031712.19037-3-stephen@networkplumber.org (mailing list archive)
State Superseded
Delegated to: Stephen Hemminger
Headers show
Series SPDX cleanups | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Stephen Hemminger Jan. 11, 2023, 3:17 a.m. UTC
Replace GPL 2.0 or later boilerplate.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 genl/ctrl.c | 6 +-----
 genl/genl.c | 7 +------
 2 files changed, 2 insertions(+), 11 deletions(-)
diff mbox series

Patch

diff --git a/genl/ctrl.c b/genl/ctrl.c
index 549bc6635831..a2d87af0ad07 100644
--- a/genl/ctrl.c
+++ b/genl/ctrl.c
@@ -1,11 +1,7 @@ 
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ctrl.c	generic netlink controller
  *
- *		This program is free software; you can distribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	J Hadi Salim (hadi@cyberus.ca)
  *		Johannes Berg (johannes@sipsolutions.net)
  */
diff --git a/genl/genl.c b/genl/genl.c
index 6557e6bc6ce6..85cc73bb2e18 100644
--- a/genl/genl.c
+++ b/genl/genl.c
@@ -1,13 +1,8 @@ 
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * genl.c		"genl" utility frontend.
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Jamal Hadi Salim
- *
  */
 
 #include <stdio.h>