diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-05-08 03:28:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:07 -0400 |
commit | e63340ae6b6205fef26b40a75673d1c9c0c8bb90 (patch) | |
tree | 8d3212705515edec73c3936bb9e23c71d34a7b41 /sound | |
parent | 04c9167f91e309c9c4ea982992aa08e83b2eb42e (diff) |
header cleaning: don't include smp_lock.h when not used
Remove includes of <linux/smp_lock.h> where it is not used/needed.
Suggested by Al Viro.
Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/control.c | 1 | ||||
-rw-r--r-- | sound/core/hwdep.c | 1 | ||||
-rw-r--r-- | sound/core/oss/mixer_oss.c | 1 | ||||
-rw-r--r-- | sound/core/oss/pcm_oss.c | 1 | ||||
-rw-r--r-- | sound/core/pcm_native.c | 1 | ||||
-rw-r--r-- | sound/core/rawmidi.c | 1 | ||||
-rw-r--r-- | sound/core/seq/oss/seq_oss.c | 1 | ||||
-rw-r--r-- | sound/core/seq/seq_clientmgr.c | 1 | ||||
-rw-r--r-- | sound/core/timer.c | 1 | ||||
-rw-r--r-- | sound/oss/swarm_cs4297a.c | 1 | ||||
-rw-r--r-- | sound/oss/trident.c | 1 | ||||
-rw-r--r-- | sound/oss/via82cxxx_audio.c | 1 |
12 files changed, 0 insertions, 12 deletions
diff --git a/sound/core/control.c b/sound/core/control.c index 86de7258b76d..1f1ab9c1b668 100644 --- a/sound/core/control.c +++ b/sound/core/control.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <sound/driver.h> | 22 | #include <sound/driver.h> |
23 | #include <linux/threads.h> | 23 | #include <linux/threads.h> |
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <linux/smp_lock.h> | ||
26 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
27 | #include <linux/vmalloc.h> | 26 | #include <linux/vmalloc.h> |
28 | #include <linux/time.h> | 27 | #include <linux/time.h> |
diff --git a/sound/core/hwdep.c b/sound/core/hwdep.c index 96ffdf18c3fe..51ad95b7c894 100644 --- a/sound/core/hwdep.c +++ b/sound/core/hwdep.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <sound/driver.h> | 22 | #include <sound/driver.h> |
23 | #include <linux/major.h> | 23 | #include <linux/major.h> |
24 | #include <linux/init.h> | 24 | #include <linux/init.h> |
25 | #include <linux/smp_lock.h> | ||
26 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
27 | #include <linux/time.h> | 26 | #include <linux/time.h> |
28 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
diff --git a/sound/core/oss/mixer_oss.c b/sound/core/oss/mixer_oss.c index 74a2923eb401..fccad8f0a6bb 100644 --- a/sound/core/oss/mixer_oss.c +++ b/sound/core/oss/mixer_oss.c | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include <sound/driver.h> | 22 | #include <sound/driver.h> |
23 | #include <linux/init.h> | 23 | #include <linux/init.h> |
24 | #include <linux/smp_lock.h> | ||
25 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
26 | #include <linux/time.h> | 25 | #include <linux/time.h> |
27 | #include <linux/string.h> | 26 | #include <linux/string.h> |
diff --git a/sound/core/oss/pcm_oss.c b/sound/core/oss/pcm_oss.c index c4744bb07f41..fc11572c48cf 100644 --- a/sound/core/oss/pcm_oss.c +++ b/sound/core/oss/pcm_oss.c | |||
@@ -28,7 +28,6 @@ | |||
28 | 28 | ||
29 | #include <sound/driver.h> | 29 | #include <sound/driver.h> |
30 | #include <linux/init.h> | 30 | #include <linux/init.h> |
31 | #include <linux/smp_lock.h> | ||
32 | #include <linux/slab.h> | 31 | #include <linux/slab.h> |
33 | #include <linux/time.h> | 32 | #include <linux/time.h> |
34 | #include <linux/vmalloc.h> | 33 | #include <linux/vmalloc.h> |
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 3e276fcf3336..905234817c89 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include <sound/driver.h> | 22 | #include <sound/driver.h> |
23 | #include <linux/mm.h> | 23 | #include <linux/mm.h> |
24 | #include <linux/smp_lock.h> | ||
25 | #include <linux/file.h> | 24 | #include <linux/file.h> |
26 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
27 | #include <linux/time.h> | 26 | #include <linux/time.h> |
diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c index d14dcbb6dbca..e470c3c7d611 100644 --- a/sound/core/rawmidi.c +++ b/sound/core/rawmidi.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <sound/core.h> | 23 | #include <sound/core.h> |
24 | #include <linux/major.h> | 24 | #include <linux/major.h> |
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/smp_lock.h> | ||
27 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
28 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
29 | #include <linux/time.h> | 28 | #include <linux/time.h> |
diff --git a/sound/core/seq/oss/seq_oss.c b/sound/core/seq/oss/seq_oss.c index 2eb987308b53..bc0992398461 100644 --- a/sound/core/seq/oss/seq_oss.c +++ b/sound/core/seq/oss/seq_oss.c | |||
@@ -22,7 +22,6 @@ | |||
22 | 22 | ||
23 | #include <sound/driver.h> | 23 | #include <sound/driver.h> |
24 | #include <linux/init.h> | 24 | #include <linux/init.h> |
25 | #include <linux/smp_lock.h> | ||
26 | #include <linux/moduleparam.h> | 25 | #include <linux/moduleparam.h> |
27 | #include <linux/mutex.h> | 26 | #include <linux/mutex.h> |
28 | #include <sound/core.h> | 27 | #include <sound/core.h> |
diff --git a/sound/core/seq/seq_clientmgr.c b/sound/core/seq/seq_clientmgr.c index 694efe832b67..b31b5282a2c8 100644 --- a/sound/core/seq/seq_clientmgr.c +++ b/sound/core/seq/seq_clientmgr.c | |||
@@ -23,7 +23,6 @@ | |||
23 | 23 | ||
24 | #include <sound/driver.h> | 24 | #include <sound/driver.h> |
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/smp_lock.h> | ||
27 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
28 | #include <sound/core.h> | 27 | #include <sound/core.h> |
29 | #include <sound/minors.h> | 28 | #include <sound/minors.h> |
diff --git a/sound/core/timer.c b/sound/core/timer.c index 160e40ede723..67520b3c0042 100644 --- a/sound/core/timer.c +++ b/sound/core/timer.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <sound/driver.h> | 22 | #include <sound/driver.h> |
23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
24 | #include <linux/init.h> | 24 | #include <linux/init.h> |
25 | #include <linux/smp_lock.h> | ||
26 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
27 | #include <linux/time.h> | 26 | #include <linux/time.h> |
28 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
diff --git a/sound/oss/swarm_cs4297a.c b/sound/oss/swarm_cs4297a.c index 016b918329ad..a8057f259553 100644 --- a/sound/oss/swarm_cs4297a.c +++ b/sound/oss/swarm_cs4297a.c | |||
@@ -75,7 +75,6 @@ | |||
75 | #include <linux/interrupt.h> | 75 | #include <linux/interrupt.h> |
76 | #include <linux/init.h> | 76 | #include <linux/init.h> |
77 | #include <linux/poll.h> | 77 | #include <linux/poll.h> |
78 | #include <linux/smp_lock.h> | ||
79 | #include <linux/mutex.h> | 78 | #include <linux/mutex.h> |
80 | #include <linux/kernel.h> | 79 | #include <linux/kernel.h> |
81 | 80 | ||
diff --git a/sound/oss/trident.c b/sound/oss/trident.c index 72a8a0ed36a2..d98d311542ed 100644 --- a/sound/oss/trident.c +++ b/sound/oss/trident.c | |||
@@ -207,7 +207,6 @@ | |||
207 | #include <linux/init.h> | 207 | #include <linux/init.h> |
208 | #include <linux/poll.h> | 208 | #include <linux/poll.h> |
209 | #include <linux/spinlock.h> | 209 | #include <linux/spinlock.h> |
210 | #include <linux/smp_lock.h> | ||
211 | #include <linux/ac97_codec.h> | 210 | #include <linux/ac97_codec.h> |
212 | #include <linux/bitops.h> | 211 | #include <linux/bitops.h> |
213 | #include <linux/proc_fs.h> | 212 | #include <linux/proc_fs.h> |
diff --git a/sound/oss/via82cxxx_audio.c b/sound/oss/via82cxxx_audio.c index 7ab3a732e184..5d3c0372df32 100644 --- a/sound/oss/via82cxxx_audio.c +++ b/sound/oss/via82cxxx_audio.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <linux/poll.h> | 32 | #include <linux/poll.h> |
33 | #include <linux/soundcard.h> | 33 | #include <linux/soundcard.h> |
34 | #include <linux/ac97_codec.h> | 34 | #include <linux/ac97_codec.h> |
35 | #include <linux/smp_lock.h> | ||
36 | #include <linux/ioport.h> | 35 | #include <linux/ioport.h> |
37 | #include <linux/delay.h> | 36 | #include <linux/delay.h> |
38 | #include <linux/dma-mapping.h> | 37 | #include <linux/dma-mapping.h> |