2002-09-04 03:33:40

by Steve Kenton

[permalink] [raw]
Subject: [PATCH] redundant stddef.h in wait.h

In 2.5.32, include/linux/wait.h includes both kernel.h and stddef.h, but
kernel.h already includes stddef.h. So, should we just delete the
redundant include of stddef.h? There are others. If this is OK, I will
sent it and it's kin to trivial.

Patch below for perusal and comments

Steve Kenton

--- include/linux/wait.h.orig Tue Sep 3 21:35:51 2002
+++ include/linux/wait.h Tue Sep 3 21:36:00 2002
@@ -12,7 +12,6 @@

#include <linux/kernel.h>
#include <linux/list.h>
-#include <linux/stddef.h>
#include <linux/spinlock.h>
#include <linux/config.h>