git: 88362a00863a - main - linsysfs(5): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Fri, 18 Aug 2023 10:12:23 UTC
The branch main has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=88362a00863a1c8369fab1cf63ad0e673403f7d0

commit 88362a00863a1c8369fab1cf63ad0e673403f7d0
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-08-18 10:12:02 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-08-18 10:12:02 +0000

    linsysfs(5): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743
---
 sys/compat/linsysfs/linsysfs.c     | 1 -
 sys/compat/linsysfs/linsysfs_net.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sys/compat/linsysfs/linsysfs.c b/sys/compat/linsysfs/linsysfs.c
index 9f730c6627de..7f70221b420d 100644
--- a/sys/compat/linsysfs/linsysfs.c
+++ b/sys/compat/linsysfs/linsysfs.c
@@ -26,7 +26,6 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/ctype.h>
diff --git a/sys/compat/linsysfs/linsysfs_net.c b/sys/compat/linsysfs/linsysfs_net.c
index 6ca653d93407..73602b0132a4 100644
--- a/sys/compat/linsysfs/linsysfs_net.c
+++ b/sys/compat/linsysfs/linsysfs_net.c
@@ -25,7 +25,6 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include <sys/param.h>
 #include <sys/eventhandler.h>
 #include <sys/kernel.h>