diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-10-18 11:42:48 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-10-19 13:44:21 -0400 |
commit | 5ba8b1c6fe40c314a02e28553c25552d8f1442e7 (patch) | |
tree | b5c2dd8138125eebd66d1dc0526226d948e37e12 /drivers/acpi/osl.c | |
parent | 3a2468d0274d10916baf5318f9004a8061533370 (diff) |
ACPI: remove dead code
Found by running make namespacecheck on linux-next
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 65b25a303b86..82097fd5a75b 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -780,16 +780,6 @@ void acpi_os_wait_events_complete(void *context) | |||
780 | EXPORT_SYMBOL(acpi_os_wait_events_complete); | 780 | EXPORT_SYMBOL(acpi_os_wait_events_complete); |
781 | 781 | ||
782 | /* | 782 | /* |
783 | * Allocate the memory for a spinlock and initialize it. | ||
784 | */ | ||
785 | acpi_status acpi_os_create_lock(acpi_spinlock * handle) | ||
786 | { | ||
787 | spin_lock_init(*handle); | ||
788 | |||
789 | return AE_OK; | ||
790 | } | ||
791 | |||
792 | /* | ||
793 | * Deallocate the memory for a spinlock. | 783 | * Deallocate the memory for a spinlock. |
794 | */ | 784 | */ |
795 | void acpi_os_delete_lock(acpi_spinlock handle) | 785 | void acpi_os_delete_lock(acpi_spinlock handle) |
@@ -1152,21 +1142,6 @@ int acpi_check_region(resource_size_t start, resource_size_t n, | |||
1152 | } | 1142 | } |
1153 | EXPORT_SYMBOL(acpi_check_region); | 1143 | EXPORT_SYMBOL(acpi_check_region); |
1154 | 1144 | ||
1155 | int acpi_check_mem_region(resource_size_t start, resource_size_t n, | ||
1156 | const char *name) | ||
1157 | { | ||
1158 | struct resource res = { | ||
1159 | .start = start, | ||
1160 | .end = start + n - 1, | ||
1161 | .name = name, | ||
1162 | .flags = IORESOURCE_MEM, | ||
1163 | }; | ||
1164 | |||
1165 | return acpi_check_resource_conflict(&res); | ||
1166 | |||
1167 | } | ||
1168 | EXPORT_SYMBOL(acpi_check_mem_region); | ||
1169 | |||
1170 | /* | 1145 | /* |
1171 | * Let drivers know whether the resource checks are effective | 1146 | * Let drivers know whether the resource checks are effective |
1172 | */ | 1147 | */ |