[PATCH 2/5] kobject: Remove redundant license text
From: Greg Kroah-Hartman
Date: Tue Nov 07 2017 - 11:30:15 EST
Now that the SPDX tag is in all kobject files, that identifies the
license in a specific and legally-defined manner. So the extra GPL text
wording can be removed as it is no longer needed at all.
This is done on a quest to remove the 700+ different ways that files in
the kernel describe the GPL license text. And there's unneeded stuff
like the address (sometimes incorrect) for the FSF which is never
needed.
No copyright headers or other non-license-description text was removed.
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
include/linux/kobject.h | 2 --
include/linux/kobject_ns.h | 2 --
lib/kobject.c | 3 ---
lib/kobject_uevent.c | 2 --
samples/kobject/kobject-example.c | 3 ---
samples/kobject/kset-example.c | 3 ---
6 files changed, 15 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index ac59b67f131e..7f6f93c3df9c 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -7,8 +7,6 @@
* Copyright (c) 2006-2008 Greg Kroah-Hartman <greg@xxxxxxxxx>
* Copyright (c) 2006-2008 Novell Inc.
*
- * This file is released under the GPLv2.
- *
* Please read Documentation/kobject.txt before using the kobject
* interface, ESPECIALLY the parts about reference counts and object
* destructors.
diff --git a/include/linux/kobject_ns.h b/include/linux/kobject_ns.h
index 7dd22132cc13..069aa2ebef90 100644
--- a/include/linux/kobject_ns.h
+++ b/include/linux/kobject_ns.h
@@ -8,8 +8,6 @@
*
* Split from kobject.h by David Howells (dhowells@xxxxxxxxxx)
*
- * This file is released under the GPLv2.
- *
* Please read Documentation/kobject.txt before using the kobject
* interface, ESPECIALLY the parts about reference counts and object
* destructors.
diff --git a/lib/kobject.c b/lib/kobject.c
index 450e771d0ac7..fad12300d264 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -6,9 +6,6 @@
* Copyright (c) 2006-2007 Greg Kroah-Hartman <greg@xxxxxxxxx>
* Copyright (c) 2006-2007 Novell Inc.
*
- * This file is released under the GPLv2.
- *
- *
* Please see the file Documentation/kobject.txt for critical information
* about using the kobject interface.
*/
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 070aa1412827..8a4b211b9c29 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -6,8 +6,6 @@
* Copyright (C) 2004 Novell, Inc. All rights reserved.
* Copyright (C) 2004 IBM, Inc. All rights reserved.
*
- * Licensed under the GNU GPL v2.
- *
* Authors:
* Robert Love <rml@xxxxxxxxxx>
* Kay Sievers <kay.sievers@xxxxxxxx>
diff --git a/samples/kobject/kobject-example.c b/samples/kobject/kobject-example.c
index 6cc8bb36a4e8..9e383fdbaa00 100644
--- a/samples/kobject/kobject-example.c
+++ b/samples/kobject/kobject-example.c
@@ -4,9 +4,6 @@
*
* Copyright (C) 2004-2007 Greg Kroah-Hartman <greg@xxxxxxxxx>
* Copyright (C) 2007 Novell Inc.
- *
- * Released under the GPL version 2 only.
- *
*/
#include <linux/kobject.h>
#include <linux/string.h>
diff --git a/samples/kobject/kset-example.c b/samples/kobject/kset-example.c
index 58543eca7f16..401328fd687d 100644
--- a/samples/kobject/kset-example.c
+++ b/samples/kobject/kset-example.c
@@ -4,9 +4,6 @@
*
* Copyright (C) 2004-2007 Greg Kroah-Hartman <greg@xxxxxxxxx>
* Copyright (C) 2007 Novell Inc.
- *
- * Released under the GPL version 2 only.
- *
*/
#include <linux/kobject.h>
#include <linux/string.h>
--
2.15.0