[2.6 patch] kernel/resource.c: __check_region(): remove pointless __deprecated

From: Adrian Bunk
Date: Mon Dec 12 2005 - 21:28:36 EST


If a __deprecated is desired it should go to the prototype in the header
(where it currently isn't).

But at this place it's pointless.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

This patch was already sent on:
- 21 Nov 2005

--- linux-2.6.15-rc1-mm2-full/kernel/resource.c.old 2005-11-20 20:46:17.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/kernel/resource.c 2005-11-20 20:46:32.000000000 +0100
@@ -466,7 +466,7 @@

EXPORT_SYMBOL(__request_region);

-int __deprecated __check_region(struct resource *parent, unsigned long start, unsigned long n)
+int __check_region(struct resource *parent, unsigned long start, unsigned long n)
{
struct resource * res;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/