public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Jun Sun <jsun@mvista.com>
To: linux-mtd@lists.infradead.org
Subject: [PATCH] remove unnecessary inclusion of <asm/setup.h>
Date: Wed, 22 Oct 2003 18:15:28 -0700	[thread overview]
Message-ID: <20031022181528.T19834@mvista.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 127 bytes --]


I don't see any purpose of including this file.  Furthermore
<asm/setup.h> does not even exist on MIPS and other arches.

Jun

[-- Attachment #2: remove-bogus-asm-setup.h-inclusion.patch --]
[-- Type: text/plain, Size: 403 bytes --]

diff -Nru linux/drivers/mtd/cmdlinepart.c.orig linux/drivers/mtd/cmdlinepart.c
--- linux/drivers/mtd/cmdlinepart.c.orig	Mon Jul 21 08:14:02 2003
+++ linux/drivers/mtd/cmdlinepart.c	Wed Oct 22 15:43:03 2003
@@ -29,7 +29,6 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/compatmac.h>
-#include <asm/setup.h>
 #include <linux/bootmem.h>
 
 /* error message prefix */

             reply	other threads:[~2003-10-23  1:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-23  1:15 Jun Sun [this message]
2003-10-23  8:36 ` [PATCH] remove unnecessary inclusion of <asm/setup.h> David Woodhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031022181528.T19834@mvista.com \
    --to=jsun@mvista.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox