git: dfc016587a1e - main - sys: Remove $FreeBSD$: two-line .c pattern
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Aug 2023 17:56:53 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=dfc016587a1e11191676c42672aeeee5eb8cd64b
commit dfc016587a1e11191676c42672aeeee5eb8cd64b
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-08-16 17:54:30 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-08-16 17:54:30 +0000
sys: Remove $FreeBSD$: two-line .c pattern
Remove /^#include\s+<sys/cdefs.h>.*$\n\s+__FBSDID\("\$FreeBSD\$"\);\n/
---
sys/arm/broadcom/bcm2835/bcm2835_rng.c | 3 ---
sys/arm/freescale/imx/imx6_ahci.c | 3 ---
sys/dev/gpio/gpiopower.c | 3 ---
sys/dev/videomode/vesagtf.c | 3 ---
sys/fs/autofs/autofs_vfsops.c | 2 --
sys/fs/tmpfs/tmpfs_fifoops.c | 2 --
sys/net/rss_config.c | 3 ---
sys/netinet/in_rss.c | 3 ---
sys/netinet6/in6_rss.c | 3 ---
9 files changed, 25 deletions(-)
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_rng.c b/sys/arm/broadcom/bcm2835/bcm2835_rng.c
index 5067120c80fa..bc13bdba2238 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_rng.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_rng.c
@@ -24,9 +24,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/kernel.h>
diff --git a/sys/arm/freescale/imx/imx6_ahci.c b/sys/arm/freescale/imx/imx6_ahci.c
index 9a789049b984..ad46452903a4 100644
--- a/sys/arm/freescale/imx/imx6_ahci.c
+++ b/sys/arm/freescale/imx/imx6_ahci.c
@@ -24,9 +24,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/dev/gpio/gpiopower.c b/sys/dev/gpio/gpiopower.c
index 28ca9ad36fb6..5c369396813f 100644
--- a/sys/dev/gpio/gpiopower.c
+++ b/sys/dev/gpio/gpiopower.c
@@ -24,9 +24,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/dev/videomode/vesagtf.c b/sys/dev/videomode/vesagtf.c
index c02c421c14ac..077cf7d1a0ea 100644
--- a/sys/dev/videomode/vesagtf.c
+++ b/sys/dev/videomode/vesagtf.c
@@ -150,9 +150,6 @@
*/
#ifdef _KERNEL
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/fs/autofs/autofs_vfsops.c b/sys/fs/autofs/autofs_vfsops.c
index 07bec01517c8..473a0b2280ac 100644
--- a/sys/fs/autofs/autofs_vfsops.c
+++ b/sys/fs/autofs/autofs_vfsops.c
@@ -29,8 +29,6 @@
*
*/
-#include <sys/cdefs.h>
- __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/fs/tmpfs/tmpfs_fifoops.c b/sys/fs/tmpfs/tmpfs_fifoops.c
index a8a4949529e9..27f77e5d7f28 100644
--- a/sys/fs/tmpfs/tmpfs_fifoops.c
+++ b/sys/fs/tmpfs/tmpfs_fifoops.c
@@ -35,8 +35,6 @@
/*
* tmpfs vnode interface for named pipes.
*/
-#include <sys/cdefs.h>
- __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/mount.h>
diff --git a/sys/net/rss_config.c b/sys/net/rss_config.c
index ee15ed3da2bf..266ea57b2dc9 100644
--- a/sys/net/rss_config.c
+++ b/sys/net/rss_config.c
@@ -27,9 +27,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
#include "opt_inet6.h"
diff --git a/sys/netinet/in_rss.c b/sys/netinet/in_rss.c
index 18cfaf986c4a..698fd86dc7a5 100644
--- a/sys/netinet/in_rss.c
+++ b/sys/netinet/in_rss.c
@@ -27,9 +27,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
#include "opt_inet6.h"
diff --git a/sys/netinet6/in6_rss.c b/sys/netinet6/in6_rss.c
index 41916cf41584..79c7bfa6e68c 100644
--- a/sys/netinet6/in6_rss.c
+++ b/sys/netinet6/in6_rss.c
@@ -27,9 +27,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
#include "opt_inet6.h"