kernel: Remove two duplicate #include's.
authorSascha Wildner <saw@online.de>
Sat, 30 Mar 2019 17:51:46 +0000 (18:51 +0100)
committerSascha Wildner <saw@online.de>
Sat, 30 Mar 2019 17:51:46 +0000 (18:51 +0100)
sys/kern/vfs_cluster.c
sys/sys/callout.h

index 27d7814..18abdf6 100644 (file)
@@ -89,7 +89,6 @@ typedef struct cluster_cache cluster_cache_t;
 cluster_cache_t cluster_array[CLUSTER_CACHE_SIZE];
 
 #if defined(CLUSTERDEBUG)
-#include <sys/sysctl.h>
 static int     rcluster= 0;
 SYSCTL_INT(_debug, OID_AUTO, rcluster, CTLFLAG_RW, &rcluster, 0, "");
 #endif
index b477edf..3db4d26 100644 (file)
@@ -111,9 +111,6 @@ struct callout {
 #define callout_arg(cc)                        ((cc)->toc.qarg)
 #define callout_func(cc)               ((cc)->toc.qfunc)
 #endif
-#ifndef _SYS_SPINLOCK_H_
-#include <sys/spinlock.h>
-#endif
 
 #ifdef _KERNEL