From: "Randy.Dunlap" <rddunlap@osdl.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: perex@suse.cz, akpm <akpm@osdl.org>
Subject: [PATCH] [sound] remove duplicate includes
Date: Wed, 3 Sep 2003 23:44:11 -0700 [thread overview]
Message-ID: <20030903234411.04a46050.rddunlap@osdl.org> (raw)
Hi,
Please apply to 2.6.0-current.
--
~Randy
patch_name: sound_incdups.patch
patch_version: 2003-09-03.23:31:54
author: Randy.Dunlap <rddunlap@osdl.org>
description: remove duplicate #includes in sound/
product: Linux
product_versions: 2.6.0-test4
maintainer: perex@suse.cz
diffstat: =
sound/core/ioctl32/ioctl32.c | 1 -
sound/oss/forte.c | 1 -
sound/oss/nec_vrc5477.c | 1 -
sound/oss/rme96xx.c | 1 -
sound/oss/vwsnd.c | 2 --
5 files changed, 6 deletions(-)
diff -Naurp ./sound/oss/forte.c~incdups ./sound/oss/forte.c
--- ./sound/oss/forte.c~incdups 2003-09-03 16:33:44.000000000 -0700
+++ ./sound/oss/forte.c 2003-09-03 22:07:40.000000000 -0700
@@ -37,7 +37,6 @@
#include <linux/delay.h>
#include <linux/poll.h>
-#include <linux/kernel.h>
#include <linux/sound.h>
#include <linux/ac97_codec.h>
diff -Naurp ./sound/oss/rme96xx.c~incdups ./sound/oss/rme96xx.c
--- ./sound/oss/rme96xx.c~incdups 2003-09-03 16:33:45.000000000 -0700
+++ ./sound/oss/rme96xx.c 2003-09-03 22:08:45.000000000 -0700
@@ -54,7 +54,6 @@ TODO:
#include <linux/smp_lock.h>
#include <linux/delay.h>
#include <linux/slab.h>
-#include <asm/dma.h>
#include <asm/hardirq.h>
#include <linux/init.h>
#include <linux/interrupt.h>
diff -Naurp ./sound/oss/vwsnd.c~incdups ./sound/oss/vwsnd.c
--- ./sound/oss/vwsnd.c~incdups 2003-09-03 16:34:08.000000000 -0700
+++ ./sound/oss/vwsnd.c 2003-09-03 22:09:34.000000000 -0700
@@ -158,8 +158,6 @@
#ifdef VWSND_DEBUG
-#include <linux/interrupt.h> /* for in_interrupt() */
-
static int shut_up = 1;
/*
diff -Naurp ./sound/oss/nec_vrc5477.c~incdups ./sound/oss/nec_vrc5477.c
--- ./sound/oss/nec_vrc5477.c~incdups 2003-09-03 16:34:29.000000000 -0700
+++ ./sound/oss/nec_vrc5477.c 2003-09-03 22:10:34.000000000 -0700
@@ -96,7 +96,6 @@
#endif
#if defined(VRC5477_AC97_DEBUG)
-#include <linux/kernel.h>
#define ASSERT(x) if (!(x)) { \
panic("assertion failed at %s:%d: %s\n", __FILE__, __LINE__, #x); }
#else
diff -Naurp ./sound/core/ioctl32/ioctl32.c~incdups ./sound/core/ioctl32/ioctl32.c
--- ./sound/core/ioctl32/ioctl32.c~incdups 2003-09-03 16:33:23.000000000 -0700
+++ ./sound/core/ioctl32/ioctl32.c 2003-09-03 22:12:53.000000000 -0700
@@ -25,7 +25,6 @@
#include <linux/time.h>
#include <linux/slab.h>
#include <linux/fs.h>
-#include <linux/init.h>
#include <sound/core.h>
#include <sound/control.h>
#include <asm/uaccess.h>
reply other threads:[~2003-09-04 6:46 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=20030903234411.04a46050.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@suse.cz \
/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;
as well as URLs for NNTP newsgroup(s).