A few files in drivers/net/usb contain GPLv2 boilerplate text in their header comments. Replace this text with SPDX-License-Identifier comments. These changes were largely scripted. Signed-off-by: Ethan Nelson-Moore --- drivers/net/usb/ch9200.c | 6 +----- drivers/net/usb/dm9601.c | 5 +---- drivers/net/usb/sr9700.c | 5 +---- drivers/net/usb/sr9800.c | 5 +---- drivers/net/usb/sr9800.h | 5 +---- 5 files changed, 5 insertions(+), 21 deletions(-) diff --git a/drivers/net/usb/ch9200.c b/drivers/net/usb/ch9200.c index 5cd825f26420..b7aaab4c147d 100644 --- a/drivers/net/usb/ch9200.c +++ b/drivers/net/usb/ch9200.c @@ -1,10 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * USB 10M/100M ethernet adapter - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied - * */ #include diff --git a/drivers/net/usb/dm9601.c b/drivers/net/usb/dm9601.c index c8e0f8868210..1b42dc323124 100644 --- a/drivers/net/usb/dm9601.c +++ b/drivers/net/usb/dm9601.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Davicom DM96xx USB 10/100Mbps ethernet devices * * Peter Korsgaard - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ //#define DEBUG diff --git a/drivers/net/usb/sr9700.c b/drivers/net/usb/sr9700.c index 50981a28376a..f6108d0eccfb 100644 --- a/drivers/net/usb/sr9700.c +++ b/drivers/net/usb/sr9700.c @@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * CoreChip-sz SR9700 one chip USB 1.1 Ethernet Devices * * Author : Liu Junliang * * Based on dm9601.c - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include diff --git a/drivers/net/usb/sr9800.c b/drivers/net/usb/sr9800.c index 6fd33a5b2279..c4ab23b9cb0e 100644 --- a/drivers/net/usb/sr9800.c +++ b/drivers/net/usb/sr9800.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* CoreChip-sz SR9800 one chip USB 2.0 Ethernet Devices * * Author : Liu Junliang * * Based on asix_common.c, asix_devices.c - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied.* */ #include diff --git a/drivers/net/usb/sr9800.h b/drivers/net/usb/sr9800.h index 98ac1c45740e..1917f8892008 100644 --- a/drivers/net/usb/sr9800.h +++ b/drivers/net/usb/sr9800.h @@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* CoreChip-sz SR9800 one chip USB 2.0 Ethernet Devices * * Author : Liu Junliang - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #ifndef _SR9800_H -- 2.43.0