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 /drivers/video/sis | |
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 'drivers/video/sis')
-rw-r--r-- | drivers/video/sis/sis.h | 1 | ||||
-rw-r--r-- | drivers/video/sis/sis_main.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/sis/sis.h b/drivers/video/sis/sis.h index 7d5ee2145e21..b1826d3c5222 100644 --- a/drivers/video/sis/sis.h +++ b/drivers/video/sis/sis.h | |||
@@ -51,7 +51,6 @@ | |||
51 | #include <linux/ioctl32.h> | 51 | #include <linux/ioctl32.h> |
52 | #define SIS_OLD_CONFIG_COMPAT | 52 | #define SIS_OLD_CONFIG_COMPAT |
53 | #else | 53 | #else |
54 | #include <linux/smp_lock.h> | ||
55 | #define SIS_NEW_CONFIG_COMPAT | 54 | #define SIS_NEW_CONFIG_COMPAT |
56 | #endif | 55 | #endif |
57 | #endif /* CONFIG_COMPAT */ | 56 | #endif /* CONFIG_COMPAT */ |
diff --git a/drivers/video/sis/sis_main.c b/drivers/video/sis/sis_main.c index 01197d740217..6e094688a637 100644 --- a/drivers/video/sis/sis_main.c +++ b/drivers/video/sis/sis_main.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include <linux/module.h> | 37 | #include <linux/module.h> |
38 | #include <linux/moduleparam.h> | 38 | #include <linux/moduleparam.h> |
39 | #include <linux/kernel.h> | 39 | #include <linux/kernel.h> |
40 | #include <linux/smp_lock.h> | ||
41 | #include <linux/spinlock.h> | 40 | #include <linux/spinlock.h> |
42 | #include <linux/errno.h> | 41 | #include <linux/errno.h> |
43 | #include <linux/string.h> | 42 | #include <linux/string.h> |