public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.6.13 - 1/3 - Remove the deprecated function __check_region
@ 2005-08-30 17:05 Stephane Wirtel
  2005-08-30 17:16 ` Stephane Wirtel
  2005-08-30 17:17 ` Jesper Juhl
  0 siblings, 2 replies; 9+ messages in thread
From: Stephane Wirtel @ 2005-08-30 17:05 UTC (permalink / raw)
  To: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

Hi all, 

Here is the first patch for kernel 2.6.13 from Linus tree.



-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
                <stephane.wirtel@gmail.com>



[-- Attachment #2: patch_remove_deprecated_check_region.diff --]
[-- Type: text/plain, Size: 619 bytes --]

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;

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-08-30 19:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 17:05 [PATCH] 2.6.13 - 1/3 - Remove the deprecated function __check_region Stephane Wirtel
2005-08-30 17:16 ` Stephane Wirtel
2005-08-30 17:17 ` Jesper Juhl
2005-08-30 17:21   ` Stephane Wirtel
2005-08-30 17:37     ` Jesper Juhl
2005-08-30 17:54       ` Muli Ben-Yehuda
2005-08-30 19:03         ` Muli Ben-Yehuda
2005-08-30 19:23           ` Jesper Juhl
2005-08-30 17:58       ` Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox