mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rob Radez <rob@osinvestor.com>
To: linux-kernel@vger.kernel.org
Cc: "David S. Miller" <davem@redhat.com>,
	paulus@samba.org, engebret@us.ibm.com, rth@twiddle.net
Subject: [PATCH] Remove useless include/asm-*/floppy.h code
Date: Sat, 15 Jun 2002 22:05:34 -0400	[thread overview]
Message-ID: <20020615220534.C9029@osinvestor.com> (raw)

Hi,
Attached patch removes some useless code.  Should apply to 2.4.19-pre10 and
2.5.21.  Not sure if the code is still in relevant arch trees, but various
people cc'd so that it can be eliminated.

Regards,
Rob Radez

diff -ruN stock-2.4.19pre10/include/asm-alpha/floppy.h floppy-2.4.19pre10/include/asm-alpha/floppy.h
--- stock-2.4.19pre10/include/asm-alpha/floppy.h	Fri Jun 14 18:48:58 2002
+++ floppy-2.4.19pre10/include/asm-alpha/floppy.h	Sat Jun 15 21:47:04 2002
@@ -76,11 +76,6 @@
 
 #endif /* CONFIG_PCI */
 
-__inline__ void virtual_dma_init(void)
-{
-	/* Nothing to do on an Alpha */
-}
-
 static int FDC1 = 0x3f0;
 static int FDC2 = -1;
 
diff -ruN stock-2.4.19pre10/include/asm-ppc/floppy.h floppy-2.4.19pre10/include/asm-ppc/floppy.h
--- stock-2.4.19pre10/include/asm-ppc/floppy.h	Fri Jun 14 18:49:15 2002
+++ floppy-2.4.19pre10/include/asm-ppc/floppy.h	Sat Jun 15 21:47:12 2002
@@ -33,11 +33,6 @@
 				            "floppy", NULL)
 #define fd_free_irq()           free_irq(FLOPPY_IRQ, NULL);
 
-__inline__ void virtual_dma_init(void)
-{
-	/* Nothing to do on PowerPC */
-}
-
 static int FDC1 = 0x3f0;
 static int FDC2 = -1;
 
diff -ruN stock-2.4.19pre10/include/asm-ppc64/floppy.h floppy-2.4.19pre10/include/asm-ppc64/floppy.h
--- stock-2.4.19pre10/include/asm-ppc64/floppy.h	Fri Jun 14 18:49:01 2002
+++ floppy-2.4.19pre10/include/asm-ppc64/floppy.h	Sat Jun 15 21:47:16 2002
@@ -76,11 +76,6 @@
 
 #endif /* CONFIG_PCI */
 
-__inline__ void virtual_dma_init(void)
-{
-	/* Nothing to do on PowerPC */
-}
-
 static int FDC1 = 0x3f0;
 static int FDC2 = -1;
 
diff -ruN stock-2.4.19pre10/include/asm-sparc/floppy.h floppy-2.4.19pre10/include/asm-sparc/floppy.h
--- stock-2.4.19pre10/include/asm-sparc/floppy.h	Fri Jun 14 18:49:02 2002
+++ floppy-2.4.19pre10/include/asm-sparc/floppy.h	Sat Jun 15 21:47:20 2002
@@ -217,11 +217,6 @@
 unsigned long pdma_areasize;
 
 /* Common routines to all controller types on the Sparc. */
-static __inline__ void virtual_dma_init(void)
-{
-	/* nothing... */
-}
-
 static __inline__ void sun_fd_disable_dma(void)
 {
 	doing_pdma = 0;

                 reply	other threads:[~2002-06-16  2:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020615220534.C9029@osinvestor.com \
    --to=rob@osinvestor.com \
    --cc=davem@redhat.com \
    --cc=engebret@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=rth@twiddle.net \
    /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

all inboxes | Powered by JetHome®