LWN.net Logo

Remove extra #includes

From:  Rusty Trivial Russell <rusty@rustcorp.com.au>
To:  Linus Torvalds <torvalds@transmeta.com>
Subject:  [TRIVIAL] Remove extra #includes
Date:  Mon, 07 Jul 2003 17:58:09 +1000
Cc:  linux-kernel@vger.kernel.org

From:  Tom Rini <trini@kernel.crashing.org>

  This removes two extra #includes of <linux/spinlock.h>.
  Nothing in either of these files require <linux/spinlock.h>.
  
  ===== arch/i386/kernel/i387.c 1.16 vs edited =====

--- trivial-2.5.74-bk4/arch/i386/kernel/i387.c.orig	2003-07-07 17:36:54.000000000 +1000
+++ trivial-2.5.74-bk4/arch/i386/kernel/i387.c	2003-07-07 17:36:54.000000000 +1000
@@ -10,7 +10,6 @@
 
 #include <linux/config.h>
 #include <linux/sched.h>
-#include <linux/spinlock.h>
 #include <asm/processor.h>
 #include <asm/i387.h>
 #include <asm/math_emu.h>
--- trivial-2.5.74-bk4/include/asm-i386/i387.h.orig	2003-07-07 17:36:54.000000000 +1000
+++ trivial-2.5.74-bk4/include/asm-i386/i387.h	2003-07-07 17:36:54.000000000 +1000
@@ -12,7 +12,6 @@
 #define __ASM_I386_I387_H
 
 #include <linux/sched.h>
-#include <linux/spinlock.h>
 #include <asm/processor.h>
 #include <asm/sigcontext.h>
 #include <asm/user.h>
-- 
  What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
  Don't blame me: the Monkey is driving
  File: Tom Rini <trini@kernel.crashing.org>: [PATCH] Remove extra #includes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds