summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-07 17:30:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-07 18:36:43 +0100
commit045c5f75b77177ad19fe747e33aae2249a12e827 (patch)
tree7c0ce195997b60066204dbb17207293f444c2992
parentd9d16e16a3f82e88fec99222c9c7e26563b05688 (diff)
downloadop-kernel-dev-045c5f75b77177ad19fe747e33aae2249a12e827.zip
op-kernel-dev-045c5f75b77177ad19fe747e33aae2249a12e827.tar.gz
kobject: Remove redundant license text
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@linuxfoundation.org>
-rw-r--r--include/linux/kobject.h2
-rw-r--r--include/linux/kobject_ns.h2
-rw-r--r--lib/kobject.c3
-rw-r--r--lib/kobject_uevent.c2
-rw-r--r--samples/kobject/kobject-example.c3
-rw-r--r--samples/kobject/kset-example.c3
6 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index ac59b67..7f6f93c 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -7,8 +7,6 @@
* Copyright (c) 2006-2008 Greg Kroah-Hartman <greg@kroah.com>
* 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 7dd2213..069aa2e 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@redhat.com)
*
- * 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 450e771..fad1230 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -6,9 +6,6 @@
* Copyright (c) 2006-2007 Greg Kroah-Hartman <greg@kroah.com>
* 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 bbedaf3..cc7e2c4 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@novell.com>
* Kay Sievers <kay.sievers@vrfy.org>
diff --git a/samples/kobject/kobject-example.c b/samples/kobject/kobject-example.c
index 6cc8bb3..9e383fd 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@kroah.com>
* 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 58543ec..401328f 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@kroah.com>
* Copyright (C) 2007 Novell Inc.
- *
- * Released under the GPL version 2 only.
- *
*/
#include <linux/kobject.h>
#include <linux/string.h>
OpenPOWER on IntegriCloud