[PATCH] 2.6.13 - 1/3 - Remove the deprecated function __check_region
From: Stephane Wirtel
Date: Tue Aug 30 2005 - 12:06:30 EST
Hi all,
Here is the first patch for kernel 2.6.13 from Linus tree.
--
Stephane Wirtel <stephane.wirtel@xxxxxxxxxxxx>
<stephane.wirtel@xxxxxxxxx>
diff --git a/kernel/resource.c b/kernel/resource.c
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -465,21 +465,6 @@ struct resource * __request_region(struc
EXPORT_SYMBOL(__request_region);
-int __deprecated __check_region(struct resource *parent, unsigned long start, unsigned long n)
-{
- struct resource * res;
-
- res = __request_region(parent, start, n, "check-region");
- if (!res)
- return -EBUSY;
-
- release_resource(res);
- kfree(res);
- return 0;
-}
-
-EXPORT_SYMBOL(__check_region);
-
void __release_region(struct resource *parent, unsigned long start, unsigned long n)
{
struct resource **p;